Steve Lord has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1202648?usp=email )
Change subject: Avoid double release of read buffers
......................................................................
Avoid double release of read buffers
Fix for issue #1180
In the zero read response case null out the
iov_base which prevents the libntirpc layer
from performing a double free. Also null out
the release function pointer once we have called it.
Change-Id: Icbd787b8f4b7e535b776d8587233b10c073bc8c3
Signed-off-by: Steve Lord <steve.p.lord(a)gmail.com>
---
M src/Protocols/NFS/nfs3_read.c
M src/Protocols/NFS/nfs4_op_read.c
2 files changed, 8 insertions(+), 2 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/48/1202648/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1202648?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: Icbd787b8f4b7e535b776d8587233b10c073bc8c3
Gerrit-Change-Number: 1202648
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Lord <steve.p.lord(a)gmail.com>