Bug 1412918 - fuse: Resource leak in fuse-helper under GF_SOLARIS_HOST_OS
Summary: fuse: Resource leak in fuse-helper under GF_SOLARIS_HOST_OS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Saurabh Badhwar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-13 06:30 UTC by Saurabh Badhwar
Modified: 2017-03-06 17:43 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.10.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-18 05:31:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Saurabh Badhwar 2017-01-13 06:30:35 UTC
Description of problem:
fuse: The file pointer should be released before returning under the GF_SOLARIS_HOST_OS in fuse-helpers.c which is not being done currently leading to a possible resource leak.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2017-01-13 07:32:25 UTC
REVIEW: http://review.gluster.org/16395 (fuse: Fix a possible resource leak under GF_SOLARIS_HOST_OS in fuse-helpers.c) posted (#1) for review on master by Saurabh Badhwar (sbsaurabhbadhwar9)

Comment 2 Worker Ant 2017-01-17 20:53:40 UTC
COMMIT: http://review.gluster.org/16395 committed in master by Vijay Bellur (vbellur) 
------
commit 7b61434257f68749bfceee481fa505de7f945747
Author: Saurabh Badhwar <sbsaurabhbadhwar9>
Date:   Fri Jan 13 12:59:51 2017 +0530

    fuse: Fix a possible resource leak under GF_SOLARIS_HOST_OS
    in fuse-helpers.c
    
    Change-Id: Ie367a6dec2a0d5848631b19ebbe39ceafa954a60
    BUG: 1412918
    Signed-off-by: Saurabh Badhwar <sbsaurabhbadhwar9>
    Reviewed-on: http://review.gluster.org/16395
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Saravanakumar Arumugam <sarumuga>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Saurabh Badhwar 2017-01-18 05:31:43 UTC
Thank you for the reviews and merge.
Fix merged into mainline.

Comment 4 Shyamsundar 2017-03-06 17:43:33 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report.

glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.