Suhas Athani has uploaded this change for review.
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@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 change 1235214. To unsubscribe, or for help writing mail filters, visit settings.