[Bugs] [Bug 1451586] crash in dht_rmdir_do

bugzilla at redhat.com bugzilla at redhat.com
Wed May 17 13:49:47 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17314 committed in release-3.11 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit a723151d9389498f1b3341172a899bb9d56fdf1b
Author: N Balachandran <nbalacha at redhat.com>
Date:   Tue May 16 10:26:25 2017 +0530

    cluster/dht: Fix crash in dht rmdir

    Using local->call_cnt to check STACK_WINDs can
    cause dht_rmdir_do to be called erroneously if
    dht_rmdir_readdirp_cbk unwinds before we check if
    local->call_cnt is zero in dht_rmdir_opendir_cbk.
    This can cause frame corruptions and crashes.

    Thanks to Shyam (srangana at redhat.com) for the
    analysis.

    > BUG: 1451083
    > Signed-off-by: N Balachandran <nbalacha at redhat.com>
    > Reviewed-on: https://review.gluster.org/17305
    > 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: Shyamsundar Ranganathan <srangana at redhat.com>
    (cherry picked from commit 6f7d55c9d58797beaf8d5393c03a5a545bed8bec)
    Change-Id: I5362cf78f97f21b3fade0b9e94d492002a8d4a11
    BUG: 1451586
    Signed-off-by: N Balachandran <nbalacha at redhat.com>
    Reviewed-on: https://review.gluster.org/17314
    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: Shyamsundar Ranganathan <srangana 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=7MvGRJueRH&a=cc_unsubscribe


More information about the Bugs mailing list