[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 1 16:03:52 UTC 2017


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



--- Comment #864 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16790 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit 9babd965ba885ca8bea4c58e708a3b9f0d6f076c
Author: Nigel Babu <nigelb at redhat.com>
Date:   Wed Mar 1 07:16:19 2017 +0530

    Return ret as soon as `this` is freed

    Omitting this return causes a confusing error message in the next block,
    which is also a case of use after free. This bug was found by Coverity
    scan.

    BUG: 789278
    Change-Id: Ifd4932de437e8ae875ff191033ea43cff81b701d
    Signed-off-by: Nigel Babu <nigelb at redhat.com>
    Reviewed-on: https://review.gluster.org/16790
    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: Jeff Darcy <jdarcy at redhat.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Bugs mailing list