[Bugs] [Bug 1198963] New: set errno if gf_strdup() failed

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 5 08:18:51 UTC 2015


            Bug ID: 1198963
           Summary: set errno if gf_strdup() failed
           Product: GlusterFS
           Version: 3.6.2
         Component: libgfapi
          Assignee: bugs at gluster.org
          Reporter: hchiramm at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com

Description of problem:

Return proper errno if gf_strdup() failed.

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

GlusterFS 3.6.2

How reproducible:


Steps to Reproduce:


Actual results:

Currently the result of gf_strdup() is not checked and  missed to return ENOMEM
if in case there was a failure.

Expected results:

It should return ENOMEM if there was a failure.

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