[Bugs] [Bug 1660404] New: Conditional freeing of string after returning from dict_set_dynstr function

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 18 09:42:40 UTC 2018


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

            Bug ID: 1660404
           Summary: Conditional freeing of string after returning from
                    dict_set_dynstr function
           Product: GlusterFS
           Version: mainline
            Status: NEW
         Component: core
          Assignee: bugs at gluster.org
          Reporter: bgoyal at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community



Description of problem:

Free the string depending on the ret value of dict_set_dynstr. We need to check
if ret value from dict_set_dynstr is -EINVAL. We need to free the string only
if this case is satisfied.
Some usage analysis of the string obviously needs to be done around the code
before doing the above change.

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