diff options
author | shishir gowda <sgowda@redhat.com> | 2013-06-04 16:43:35 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-06-04 13:27:48 -0700 |
commit | dbfe779f3049e6fbc2394bdacdb57165d51dc3f3 (patch) | |
tree | 568ab673ca0a7542ecd3629714b48b7ee5d681e7 /rpc/rpc-transport/socket/src/socket.c | |
parent | 0c1916f3e1eb81aa81dc2d62e97f46880390838c (diff) |
cluster/dht: Prevent crash in dht_linkfile_lookup
Assign local = frame->local before dereferencing
local->linkfile.linkfile_cbk. Additionally, fail if
op_ret is non_zero.
Change-Id: I96a2f34ba29887da9ccaae38a644431cf7c43265
BUG: 966858
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/5141
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/rpc-transport/socket/src/socket.c')
0 files changed, 0 insertions, 0 deletions