[PATCH] Fix sigsegv in check_stream in smbtorture smb2.streams.io

Gordon Ross gordon.w.ross at gmail.com
Tue Apr 20 19:36:28 UTC 2021


Not 100% sure this is still a defect on master, but it was fairly recently.

If any stream create fails during smb2.streams.io
the test dies with a sigsegv in torture_comment

torture_comment calls need a struct torture_context arg,
not its mem_ctx child.  Use talloc_parent().  Also
need to call torture_result somewhere on failure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-sigsegv-in-check_stream-in-smbtorture-smb2.strea.patch
Type: application/octet-stream
Size: 2647 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20210420/16bd6001/0001-Fix-sigsegv-in-check_stream-in-smbtorture-smb2.strea.obj>


More information about the samba-technical mailing list