s3: torture: Add SMB1-TRUNCATED-SESSSETUP test.
authorJeremy Allison <jra@samba.org>
Fri, 11 Aug 2023 17:39:36 +0000 (10:39 -0700)
committerJule Anger <janger@samba.org>
Wed, 16 Aug 2023 10:48:14 +0000 (10:48 +0000)
commit6fef976770c596e5663f49a3cf194b0e6cdf83e6
tree6d21e46bf9640e6f059d1e2f19abfde5c7f73118
parent8e31fd2d5998d08f66bad617aecbc6dc4a9490cf
s3: torture: Add SMB1-TRUNCATED-SESSSETUP test.

Shows that we indirect through an uninitialized pointer and the client crashes
it's own smbd.

Add knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15420

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 963fd8aa9b76361ab9aeb63307773f2498b17879)
selftest/knownfail.d/smb1_truncated_sessetup [new file with mode: 0644]
source3/selftest/tests.py
source3/torture/torture.c