diff options
author | hari gowtham <hgowtham@redhat.com> | 2018-05-08 11:42:33 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-05-11 10:54:48 +0000 |
commit | 1ef9270c0990e93712c211516ccc47c3bb27674b (patch) | |
tree | 4a63acedffec41048055b3592192722e0a54aac6 /cli/src/cli-xml-output.c | |
parent | 021b60858c562cd51dbeec8c00a61243c7189df2 (diff) |
Glusterfsd: brick crash during get-state
The xprt's dereferencing wasn't checked before using it for the
strcmp, which caused the segfault and crashed the brick process.
fix: Check every deferenced variable before using it.
Change-Id: I7f705d1c88a124e8219bb877156fadb17ecf11c3
fixes: bz#1575864
Signed-off-by: hari gowtham <hgowtham@redhat.com>
Diffstat (limited to 'cli/src/cli-xml-output.c')
0 files changed, 0 insertions, 0 deletions