[Bugs] [Bug 1208118] gf_log_inject_timer_event can crash if the passed ctx is null.

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 8 18:15:11 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10102 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit 737c027edc51749ebe023baf4ec0db3077329988
Author: Humble Devassy Chirammal <hchiramm at redhat.com>
Date:   Wed Apr 1 17:50:25 2015 +0530

    libglusterfs: avoid possibility of crash when ctx is null

    ctx is passed to gf_log_inject_timer_event() and pass through to
     __gf_log_inject_timer_event() where the struct members are getting
    dereferenced, and can cause crash if the passed ctx is null. This patch
    avoids the issue.

    Change-Id: I153dbb5d3744898429139e3d40bb4f0e9093632a
    BUG: 1208118
    Signed-off-by: Humble Devassy Chirammal <hchiramm at redhat.com>
    Reviewed-on: http://review.gluster.org/10102
    Tested-by: Gluster Build System <jenkins at build.gluster.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=fZrqE8Ammi&a=cc_unsubscribe


More information about the Bugs mailing list