[Bugs] [Bug 1602121] New: avoid possible glusterd crash in glusterd_verify_slave

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 17 20:29:06 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1602121

            Bug ID: 1602121
           Summary: avoid possible glusterd crash in glusterd_verify_slave
           Product: GlusterFS
           Version: mainline
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: sunkumar at redhat.com
                CC: bugs at gluster.org



Description of 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.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list