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

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 1 18:20:36 UTC 2017


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



--- Comment #868 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16716 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit aaa5b2ec2f0ef1a62047c9ab91d957c7b0a1552a
Author: Michael Scherer <misc at redhat.com>
Date:   Wed Feb 22 17:09:46 2017 +0100

    Fix bad free

    Since rsp.path is assigned a constant string, free would
    operate on a incorrect pointer, with likely bad results.

    Found by coverity scan

    Change-Id: I4befdd78573daa3c0c3013100f7ae69a2dcae36a
    BUG: 789278
    Signed-off-by: Michael Scherer <misc at redhat.com>
    Reviewed-on: https://review.gluster.org/16716
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Tested-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    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