Project

General

Profile

Actions

Bug #4822

open

nfs4 incorrectly checks bit masks

Added by Josef Sipek over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
nfs - NFS server and client
Start date:
2014-04-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

There are a couple of instances of nfs4 code doing:

if (!foo & BAR)

This is likely wrong because of operator precedence.

Attached patch may or may not be correct.


Files

nfs4.diff (1.3 KB) nfs4.diff Josef Sipek, 2014-04-28 03:40 PM

Related issues

Related to illumos gate - Bug #3107: nfs4_getattr incorrectly checks bit masksResolvedVitaliy Gusev2012-08-22

Actions

No data to display

Actions

Also available in: Atom PDF