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

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 1 19:05:30 UTC 2017


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

            Bug ID: 1428064
           Summary: nfs: Check for null buf, and set op_errno to EIO not 0
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: vbellur at redhat.com
                CC: bugs at gluster.org



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
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>

-- 
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