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>
Mon, 9 Oct 2023 20:15:19 +0000 (22:15 +0200)
commitd1a26b4f46b4f27d01c90a71b9bbd065c2d0efd1
tree4c685837cda89514a9bab6d178a4af6c3a8a796d
parent84b5d3640f7103dcc8984df7be679967bc06fd44
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