CVE-2023-3961:s3:torture: Add test SMB2-INVALID-PIPENAME to show we allow bad pipenam...
authorJeremy Allison <jra@samba.org>
Wed, 26 Jul 2023 00:49:21 +0000 (17:49 -0700)
committerJule Anger <janger@samba.org>
Sun, 8 Oct 2023 20:05:34 +0000 (22:05 +0200)
commit45d584532f865a39432b9a3f179fdeb5cbef2f76
tree9a49f62aa54d6c76fe1f7b2fade582745e5651a2
parent5dab2cfde7e45b9e366325ed1f75b65fc6e30d90
CVE-2023-3961:s3:torture: Add test SMB2-INVALID-PIPENAME to show we allow bad pipenames with unix separators through to the UNIX domain socket code.

The raw SMB2-INVALID-PIPENAME test passes against Windows 2022,
as it just returns NT_STATUS_OBJECT_NAME_NOT_FOUND.

Add the knownfail.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/badpipename [new file with mode: 0644]
source3/selftest/tests.py
source3/torture/proto.h
source3/torture/test_smb2.c
source3/torture/torture.c