]> 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)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 28 Aug 2024 07:37:41 +0000 (07:37 +0000)
commit5cf57f1f539021f1490285516d8cfb2a2ab483e0
tree2a520ec6fcf9d4cf8db751a4aac74eb9f6f502cc
parentb5e0e831500469fbf53f70494c3d02ddd494dae1
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>
selftest/knownfail
source4/torture/smb2/ioctl.c