[Bugs] [Bug 1428064] nfs: Check for null buf, and set op_errno to EIO not 0

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 26 23:31:53 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16803 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit 3579aaaef0027c62bad57952e433e15fa9f1532c
Author: Richard Wareing <rwareing at fb.com>
Date:   Mon Sep 22 17:42:04 2014 -0700

    nfs: Check for null buf, and set op_errno to EIO not 0

    Summary:
    - Prevent crashes for the case where "getattr" actually failed and
      returned with a NULL buf, but the op_errno was set to 0.
    - This is a cherry-pick of D1571184

    Signed-off-by: Shreyas Siravara <sshreyas at fb.com>
    Change-Id: Ia2d6ad7539df714f9420dcf063c7c14e727bb7e3
    BUG: 1428064
    Reviewed-on: http://review.gluster.org/16152
    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: Kevin Vigor <kvigor at fb.com>
    Reviewed-on: https://review.gluster.org/16803
    Reviewed-by: Amar Tumballi <amarts at redhat.com>
    Tested-by: Jeff Darcy <jeff at pl.atyp.us>
    Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>

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


More information about the Bugs mailing list