diff options
author | Amar Tumballi <amar@gluster.com> | 2011-03-03 05:47:33 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-03-04 00:41:00 -0800 |
commit | 8f132b363d41e7fe94a8712ed297a5f810e8ed56 (patch) | |
tree | 18cd6c294c0eb585ca1ac4da479f79f2926b162c /xlators/debug | |
parent | 568d4027033a5cb89d6aaee757d4c71e5369fe25 (diff) |
glusterd: check for the variable before dereferencing it
check if 'peerinfo->mgmt' is set (ie, handshake is completed), before
sending any request to that peer.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2486 ([glusterfs-3.1.3qa2]: Core generated due to SegFault in glusterd_sm.c)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2486
Diffstat (limited to 'xlators/debug')
0 files changed, 0 insertions, 0 deletions