[Bugs] [Bug 1771365] New: libglusterfs/dict.c : memory leaks

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 12 09:12:48 UTC 2019


            Bug ID: 1771365
           Summary: libglusterfs/dict.c : memory leaks
           Product: GlusterFS
           Version: mainline
            Status: NEW
         Component: core
          Assignee: bugs at gluster.org
          Reporter: khiremat at redhat.com
                CC: bugs at gluster.org
  Target Milestone: ---
    Classification: Community

Description of problem:

data_t *data = get_new_data();
if (!data) {
return NULL;
data->len = gf_asprintf(&data->data, "%" PRIu32, value);
if (-1 == data->len) {
gf_msg_debug("dict", 0, "asprintf failed");
return NULL; // data Resource leak
Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

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