]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:torture/smb2: test FSCTL_QUERY_ALLOCATED_RANGES truncation
authorDavid Disseldorp <ddiss@samba.org>
Fri, 23 Aug 2024 13:01:24 +0000 (13:01 +0000)
committerJule Anger <janger@samba.org>
Mon, 2 Sep 2024 08:56:12 +0000 (08:56 +0000)
commit3455944ce0a65c76049bc7f5eb153d236df3c205
tree4ab26841edc6731e2648df8ac007d2a603cd2c52
parenta92076d88bfbf19ef1c0aed461f75b2c8e799292
s4:torture/smb2: test FSCTL_QUERY_ALLOCATED_RANGES truncation

FSCTL_QUERY_ALLOCATED_RANGES responses with more than one range should
be truncated to account for a ioctl.smb2.in.max_output_response limit.
Add a test for this.

Flag the new test knownfail; fix in subsequent commit.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
(cherry picked from commit 5cf57f1f539021f1490285516d8cfb2a2ab483e0)
selftest/knownfail
source4/torture/smb2/ioctl.c