summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorSunny Kumar <sunkumar@redhat.com>2018-07-17 15:56:35 +0530
committerAmar Tumballi <amarts@redhat.com>2018-07-23 03:57:02 +0000
commitd05d4c61e784d08e87aed5b924504004f53b4fad (patch)
treed5e8cfe6be67287a7710ddc6c7a05fcf7e828684 /xlators/features
parentfd8f712f31227ebfc3ecca63a7a3a5c3f15727d9 (diff)
geo-rep : fix possible crash
Problem : In 'glusterd_verify_slave' while tokenizing error message we call 'strtok_r' and store return value in 'tmp' which can be NULL. We are passing this 'tmp' as 1st argument to 'strcmp' which will lead to segmentation fault. Solution : before calling 'strcmp' we should NULL check 'tmp'. Change-Id: Ifd3864b904afe6cd09d9e5a4b55c6d0578e22b9d fixes: bz#1602121 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators/features')
0 files changed, 0 insertions, 0 deletions