[Bugs] [Bug 1276244] gluster-nfs : Server crashed due to an invalid reference

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 30 16:20:34 UTC 2015


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12471 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com) 
------
commit a4b44e872b7334e299853025e4faf9547ca18dfd
Author: Niels de Vos <ndevos at redhat.com>
Date:   Fri Oct 30 09:56:49 2015 +0100

    nfs : avoid invalid usage of `cs` variable in nfs fops

    Due to changes from http://review.gluster.org/#/c/12162/ a path variable
    is added to nfs3_log_common_res() and usually `cs->resolvedloc.path` is
    passed for that. But in certain fop function `cs` may not filled due error
    and when it is logged using nfs3_log_common_res() results in a crash.
    This patch will fix the same.

    Cherry picked from commit ee4f6175d1e1e6d6b82631d72c993db5691ad205:
    > Change-Id: I5a709818923e7884bd04e329834ee352a1b3a58f
    > BUG: 1276243
    > Signed-off-by: Jiffin Tony Thottan <jthottan at redhat.com>
    > Reviewed-on: http://review.gluster.org/12458
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    > Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: N Balachandran <nbalacha at redhat.com>

    Change-Id: I5a709818923e7884bd04e329834ee352a1b3a58f
    BUG: 1276244
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/12471
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle 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=uGvOZu308L&a=cc_unsubscribe


More information about the Bugs mailing list