From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. (
https://review.gerrithub.io/422634
Change subject: FSAL_VFS: fix return value in vfs_open2
......................................................................
FSAL_VFS: fix return value in vfs_open2
If set/getattr fails when handling O_EXCL, vfs_open2 still
returns successfully; then it causes NULL ptr dereference
when called from FSAL_MDCACHE since it is expecting
a valid sub_handle pointer.
Change-Id: I3da9a53c70ab6645905411948e8cb41c33cb9e11
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/FSAL/FSAL_VFS/file.c
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/34/422634/1
--
To view, visit
https://review.gerrithub.io/422634
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3da9a53c70ab6645905411948e8cb41c33cb9e11
Gerrit-Change-Number: 422634
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <fatih(a)gandi.net>