[Bugs] [Bug 1339137] New: fuse: In fuse_first_lookup(), dict is not un-referenced in case create_frame returns an empty pointer.

bugzilla at redhat.com bugzilla at redhat.com
Tue May 24 08:44:42 UTC 2016


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

            Bug ID: 1339137
           Summary: fuse: In fuse_first_lookup(), dict is not
                    un-referenced in case create_frame returns an empty
                    pointer.
           Product: GlusterFS
           Version: 3.8.0
         Component: fuse
          Assignee: olympia.kremmyda at nokia.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org
        Depends On: 1338544



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

Description of problem:
In fuse_first_lookup function, "dict_unref (dict)" should be included in the
out label, in case create_frame returns an empty pointer the dict to be
unreferenced as well.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Vijay Bellur on 2016-05-22 20:07:02 CEST ---

REVIEW: http://review.gluster.org/14463 (fuse: In fuse_first_lookup(), dict is
not un-referenced in case create_frame returns an empty pointer.) posted (#1)
for review on release-3.7 by Olia Kremmyda (olympia.kremmyda at nokia.com)

--- Additional comment from Vijay Bellur on 2016-05-22 20:42:37 CEST ---

REVIEW: http://review.gluster.org/14464 (fuse: In fuse_first_lookup(), dict is
not un-referenced in case create_frame returns an empty pointer.) posted (#1)
for review on master by Olia Kremmyda (olympia.kremmyda at nokia.com)

--- Additional comment from Vijay Bellur on 2016-05-22 20:44:56 CEST ---

REVIEW: http://review.gluster.org/14464 (fuse: In fuse_first_lookup(), dict is
not un-referenced in case create_frame returns an empty pointer.) posted (#2)
for review on master by Olia Kremmyda (olympia.kremmyda at nokia.com)

--- Additional comment from Vijay Bellur on 2016-05-22 22:39:48 CEST ---

REVIEW: http://review.gluster.org/14465 (fuse: In fuse_first_lookup(), dict is
not un-referenced in case create_frame returns an empty pointer.) posted (#1)
for review on release-3.8 by Olia Kremmyda (olympia.kremmyda at nokia.com)

--- Additional comment from Vijay Bellur on 2016-05-23 15:31:23 CEST ---

REVIEW: http://review.gluster.org/14464 (fuse: unref dict even if
fuse_first_lookup fails) posted (#3) for review on master by Jeff Darcy
(jdarcy at redhat.com)

--- Additional comment from Vijay Bellur on 2016-05-23 15:33:58 CEST ---

COMMIT: http://review.gluster.org/14464 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit b01fb8d3bb9772d94073aaa52b2d8210ac4fabb8
Author: Kremmyda, Olia (NSN - GR/Athens) <olympia.kremmyda at nokia.com>
Date:   Sun May 22 21:40:19 2016 +0300

    fuse: unref dict even if fuse_first_lookup fails

    In fuse_first_lookup function, "dict_unref (dict)" should be included in
    the out label, in case create_frame returns an empty pointer the dict to
    be unreferenced as well.


    Bug: 1338544
    Change-Id: Ifb8a3378aec6521c1aa848f818968b6bfdb72089
    Signed-off-by: Olia Kremmyda <olympia.kremmyda at nokia.com>
    Reviewed-on: http://review.gluster.org/14464
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Jeff Darcy <jdarcy at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1338544
[Bug 1338544] fuse: In fuse_first_lookup(), dict is not un-referenced in
case create_frame returns an empty pointer.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=PuyTReFcaq&a=cc_unsubscribe


More information about the Bugs mailing list