Zhu Shangzhong has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/464270 )
Change subject: Coverity: overrun to index array
......................................................................
Coverity: overrun to index array
In state_nlm_share, indexing array nlm_share->share_access_counts of
size 4 with share_access, the variable share_access may be set as
OPEN4_SHARE_ACCESS_ALL(0x00000004). The same as
nlm_share->share_deny_counts.
Change-Id: Iae1097b71fc5c4bf58601ce9d694ccb1d4e7757e
Signed-off-by: Shangzhong Zhu <zhu.shangzhong(a)zte.com.cn>
---
M src/SAL/state_share.c
1 file changed, 2 insertions(+), 8 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/70/464270/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/464270
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iae1097b71fc5c4bf58601ce9d694ccb1d4e7757e
Gerrit-Change-Number: 464270
Gerrit-PatchSet: 1
Gerrit-Owner: Zhu Shangzhong <zhu.shangzhong(a)zte.com.cn>
Gerrit-MessageType: newchange