MuYao Luo has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/493749 )
Change subject: bugfix: initialization ea_entry->e_perm before get permission value
......................................................................
bugfix: initialization ea_entry->e_perm before get permission value
ea_entry was alloc by gsh_malloc which not initialized previously, so the
value in entry->e_perm is uncertain. When we use it with '|' operation,
value of perm may be wrong. We should initialize it first.
Change-Id: I232fcb1723d26c5bbe0604705d12ae01fd9d886d
Signed-off-by: Luo Muyao <luo.muyao(a)zte.com.cn>
---
M src/FSAL/posix_acls.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/493749/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/493749
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: I232fcb1723d26c5bbe0604705d12ae01fd9d886d
Gerrit-Change-Number: 493749
Gerrit-PatchSet: 1
Gerrit-Owner: MuYao Luo <luo.muyao(a)zte.com.cn>
Gerrit-MessageType: newchange