Solomon Boulos has uploaded this change for review.

View Change

Fix crash in PROXY_V4 readdir.

The change in f6edd32b5f7 added a new optimized path for readdir4
encode/decode, but the NFS v4 proxy code wasn't properly clearing the
result struct. This change memset(0)s the result before using it to
avoid any mishaps. cthon04 now runs just fine.

Change-Id: Iab2372818958a8390ded1b83b46073248a15e6d9
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V4/handle.c
1 file changed, 9 insertions(+), 2 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iab2372818958a8390ded1b83b46073248a15e6d9
Gerrit-Change-Number: 488663
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos@google.com>
Gerrit-MessageType: newchange