Paulo Neves has uploaded this change for review.

View Change

Fix possible null pointer dereference

If logging is enabled on nfs3_lookup, name is NULL initialized
and used. Assign name to a valid location before it is used.

Change-Id: I54276cfdd0c4eed879bccffb06f788f691e3b0af
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
---
M src/Protocols/NFS/nfs3_lookup.c
1 file changed, 14 insertions(+), 2 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/79/542679/1

To view, visit change 542679. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I54276cfdd0c4eed879bccffb06f788f691e3b0af
Gerrit-Change-Number: 542679
Gerrit-PatchSet: 1
Gerrit-Owner: Paulo Neves <ptsneves@gmail.com>
Gerrit-MessageType: newchange