ofir vainshtein has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1238444?usp=email )
Change subject: Add bounds check for NFSv4 attribute index.
......................................................................
Add bounds check for NFSv4 attribute index.
In nfs4_check_attr_mask, validate that each attribute index derived from the attribute
mask does not exceed FATTR4_MAX_ATTR_INDEX. Log a warning and return false if an
out-of-range index is found.
Change-Id: If06631d2b71efe7f3f91684d89c437077a03b869
Signed-off-by: Ofir Vainshtein <ofirvins(a)google.com>
---
M src/Protocols/NFS/nfs_proto_tools.c
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/44/1238444/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1238444?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: If06631d2b71efe7f3f91684d89c437077a03b869
Gerrit-Change-Number: 1238444
Gerrit-PatchSet: 1
Gerrit-Owner: ofir vainshtein <ofirvins(a)google.com>