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

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 8 16:47:50 UTC 2017


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



--- Comment #903 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18245 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit e9acd3130374ce5d512b784310a729734e6655a5
Author: Michael Scherer <misc at redhat.com>
Date:   Fri Sep 8 18:45:12 2017 +0200

    Fix use-after-free in gf_rdma_do_reads

    If iobref_new can't allocate a ref, we free the iobuf, and
    then go to the cleanup part of the function, that will
    run iobuf_unref a 2nd time, which trigger a warning with
    coverity.

    Change-Id: Ie9cf7a5d5f98244a390e44e1403c614199eb650c
    BUG: 789278
    Signed-off-by: Michael Scherer <misc at redhat.com>
    Reviewed-on: https://review.gluster.org/18245
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Tested-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

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


More information about the Bugs mailing list