[PATCH] Fix valgrind read-after-free error in cli_smb2_close_fnum_recv().

Jeremy Allison jra at samba.org
Wed Nov 29 17:33:43 UTC 2017


cli_smb2_close_fnum_recv() uses tevent_req_simple_recv_ntstatus(req), which
frees req, then uses the state pointer which was owned by req.

Please review and push.

Thanks,

	Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-libsmb-Fix-valgrind-read-after-free-error-in-cli_.patch
Type: text/x-diff
Size: 1255 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171129/0834c56c/0001-s3-libsmb-Fix-valgrind-read-after-free-error-in-cli_.diff>


More information about the samba-technical mailing list