ofir vainshtein has uploaded this change for review.
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@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 change 1238444. To unsubscribe, or for help writing mail filters, visit settings.