Suhas Athani has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1235214?usp=email )
Change subject: IBMCEPH-13841: Fix nfs4_op_getattr() crash when op_ctx->clientid is
NULL
......................................................................
IBMCEPH-13841:
Fix nfs4_op_getattr() crash when op_ctx->clientid is NULL
Fix a NULL-pointer dereference in nfs4_op_getattr() when
evaluating the WRITE-delegation “different client” check.
op_ctx->clientid can be NULL (e.g., NFSv4.0 compound where
op_ctx->nfs_minorvers == 0), and the prior code dereferenced
*op_ctx->clientid, crashing ganesha under delegation stress
(recall16).
Change-Id: I51703b9ba671e85af7887d13b2130473f73f0314
Signed-off-by: Suhas Athani <Suhas.Athani(a)ibm.com>
---
M src/Protocols/NFS/nfs4_op_getattr.c
1 file changed, 6 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/1235214/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1235214?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: I51703b9ba671e85af7887d13b2130473f73f0314
Gerrit-Change-Number: 1235214
Gerrit-PatchSet: 1
Gerrit-Owner: Suhas Athani <Suhas.Athani(a)ibm.com>