[Bugs] [Bug 1471870] cthon04 can cause segfault in gNFS/NLM

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 11 10:52:50 UTC 2017


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



--- Comment #16 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17913 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit dc413d4126d02be71a014786e17e7b605443e887
Author: Niels de Vos <ndevos at redhat.com>
Date:   Sat Jul 29 14:16:07 2017 +0200

    refcount: typecast function for calling on free

    All of the functions called to free the refcounted structure are doing a
    typecast from (void*) to their own type taht is being free'd. This
    really is not needed and the refcount interface is made a little simpler
    without the requirement of typecasting.

    With this small improvement in the API, all callers are updated too.

    Cherry picked from commit f2ca301bd741e3e3f076cd3f72fcd377bcef2a1a:
    > Change-Id: I32473b6d1799f62861d4b2d78ea30c09e6c80ab1
    > BUG: 1416889
    > Signed-off-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-on: https://review.gluster.org/16471
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>

    Backport note: This patch makes it easier to backport changes that use
                   gf_refcount_t. There is no functional change.

    Change-Id: I32473b6d1799f62861d4b2d78ea30c09e6c80ab1
    BUG: 1471870
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/17913
    Smoke: Gluster 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=XoguLGYWXU&a=cc_unsubscribe


More information about the Bugs mailing list