[Bugs] [Bug 1619423] New: cli: Command `gluster volume statedump <volname> ` dumps core

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 20 19:54:14 UTC 2018


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

            Bug ID: 1619423
           Summary: cli: Command `gluster volume statedump <volname>`
                    dumps core
           Product: GlusterFS
           Version: mainline
         Component: cli
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: srangana at redhat.com
                CC: bugs at gluster.org



Description of problem:
Invoking the command as in subject dumps core, generated by the gluster CLI.

The core is due to wordcount in function cli_cmd_volume_statedump_options_parse
being 3 in the case above, and this leads to option_str in the function to be a
NULL string, and hence referencing the same in strstr within the same function
leads to a segmentation fault.

This happens always.

-- 
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