[Bugs] [Bug 1490897] New: GlusterD returns a bad memory pointer in glusterd_get_args_from_dict()

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 12 12:44:02 UTC 2017


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

            Bug ID: 1490897
           Summary: GlusterD returns a bad memory pointer in
                    glusterd_get_args_from_dict()
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Assignee: bugs at gluster.org
          Reporter: xhernandez at datalab.es
                CC: bugs at gluster.org



Description of problem:

glusterd_get_args_from_dict() creates a new dict from unserialization of the
data coming from getspec. From there it extracts 'brick_name' and stores the
pointer to argument brick_name (a char **). Just before returning, dict is
released, deallocating all related data, including the string pointer by
brick_name.

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


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