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

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 13 09:03:54 UTC 2017


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

            Bug ID: 1491178
           Summary: GlusterD returns a bad memory pointer in
                    glusterd_get_args_from_dict()
           Product: GlusterFS
           Version: 3.12
         Component: glusterd
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: xhernandez at datalab.es
                CC: bugs at gluster.org
        Depends On: 1490897
            Blocks: 1491166



+++ This bug was initially created as a clone of Bug #1490897 +++

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:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1490897
[Bug 1490897] GlusterD returns a bad memory pointer in
glusterd_get_args_from_dict()
https://bugzilla.redhat.com/show_bug.cgi?id=1491166
[Bug 1491166] GlusterD returns a bad memory pointer in
glusterd_get_args_from_dict()
-- 
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