Actions
Bug #3107
closednfs4_getattr incorrectly checks bit masks
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
Updated by Rich Lowe almost 10 years ago
- Subject changed from imperceptible bug of checking of bits to nfs4_getattr incorrectly checks bit masks
Updated by Rich Lowe almost 10 years ago
- Category set to nfs - NFS server and client
- Status changed from Feedback to Resolved
- Assignee set to Vitaliy Gusev
- Tags deleted (
needs-triage)
Resolved in r13795 commit:caa31a28c302
Actions