[Bugs] [Bug 1412994] Memory leak on mount/fuse when setxattr fails

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 10 22:28:14 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16403 committed in release-3.8 by Niels de
Vos (ndevos at redhat.com) 
------
commit b0f1fce00f2b3c86077c88dff85ff99f3263b60b
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Thu Jan 12 08:38:50 2017 +0100

    fuse: fix memory leak in setxattr

    If there's some failed check in setxattr of mount/fuse before
    actually starting the operation, a fuse_state_t structure is
    leaked.

    This fix correctly releases allocated resources in case of
    error.

    > Change-Id: I8b1cda67a613c13b6bc38947352e2ccfccf96a1d
    > BUG: 1412174
    > Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    > Reviewed-on: http://review.gluster.org/16380
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Jeff Darcy <jdarcy at redhat.com>

    Change-Id: I7e838f8284aa2aca2e43067a4b002e8530ad928d
    BUG: 1412994
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: https://review.gluster.org/16403
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

-- 
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=Lvf1xI0WTM&a=cc_unsubscribe


More information about the Bugs mailing list