summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-09-06 05:44:14 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-06 09:37:31 -0700
commit1bdee1756e70ec2611e568776dd93c70f5e6feef (patch)
tree74802ecef1cd5a083e1778f73a922c78d80e851a /cli
parentd48378e4971b6b75f328923054959f6dc4dd89f6 (diff)
rpc-clnt: fix memory corruption happening while encoding auth data.
- buffer containing authdata pointed by rpc-request was allocated on stack of procedure rpc_clnt_fill_request, but was being used as source for xdr-encoding in rpc_clnt_record_build_record. Hence by the time auth-data is being copied during encoding of request, it might've been freed and hence contain garbage. Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions