Steve Lord has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1202649?usp=email )
Change subject: Prevent nfs3 read from generating bad reply
......................................................................
Prevent nfs3 read from generating bad reply
Fixes Issue #1185
When an nfs read reques crosses EOF we need
to reset data.data_len to the amount of data
provided. This prevents the XDR code from
marshalling a reply which confuses the NFS
client.
Change-Id: I9453d8e11ef1c2cd8744d7dd387c629ac48b4a37
Signed-off-by: Steve Lord <steve.p.lord(a)gmail.com>
---
M src/Protocols/NFS/nfs3_read.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/49/1202649/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1202649?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: I9453d8e11ef1c2cd8744d7dd387c629ac48b4a37
Gerrit-Change-Number: 1202649
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Lord <steve.p.lord(a)gmail.com>