Project

General

Profile

Actions

Bug #3107

closed

nfs4_getattr incorrectly checks bit masks

Added by Daniil Lunev almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2012-08-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Erroneous using OR to check bits instead of AND in nfs4_getattr() in usr/src/uts/common/fs/nfs/nfs4_vnops.c

In nfs4_getattr, | is used when checking whether bits are set, rather than &, and in addition we check that every attribute hint is set, when deciding whether to return client values, rather than checking merely that the only appropriate attribute is set.


Related issues

Related to illumos gate - Bug #4822: nfs4 incorrectly checks bit masksNew2014-04-28

Actions
Actions

Also available in: Atom PDF