Zhitao Li has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1217710?usp=email ) Change subject: fix(nfs3_setattr): fix null pointer dereference in WCC handling ...................................................................... fix(nfs3_setattr): fix null pointer dereference in WCC handling If nfs3_FhandleToCache() fails, the object is null, which is used in nfs_SetWccData(). This commit fixes this bug. Change-Id: Ie9261ef51584dc06434a214a0423ad60aa7b05f9 Signed-off-by: zhitaoli <zhitao.li@iomesh.com> --- M src/Protocols/NFS/nfs3_setattr.c 1 file changed, 15 insertions(+), 10 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/10/1217710/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1217710?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: Ie9261ef51584dc06434a214a0423ad60aa7b05f9 Gerrit-Change-Number: 1217710 Gerrit-PatchSet: 1 Gerrit-Owner: Zhitao Li <zhitao.li@iomesh.com>