1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
David Disseldorp 5e278a5264 smb2_ioctl: fix truncated FSCTL_QUERY_ALLOCATED_RANGES responses
As per MS-FSA 2.1.5.10.22 FSCTL_QUERY_ALLOCATED_RANGES, if response
range entries exceed in_max_output, then we should respond with
STATUS_BUFFER_OVERFLOW and a truncated output buffer.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15699

Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Noel Power <npower@samba.org>

Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Wed Aug 28 08:54:11 UTC 2024 on atb-devel-224
2024-08-28 08:54:11 +00:00
..
2023-07-19 09:58:37 +00:00
2024-05-15 16:51:39 +00:00
2024-04-17 07:57:36 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-11-15 05:10:35 +00:00
2023-11-01 18:55:32 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2024-02-08 02:48:44 +00:00
2020-11-04 18:55:39 +00:00
2024-06-24 16:21:32 +00:00
2023-11-01 18:55:32 +00:00
2023-11-20 15:37:33 +00:00
2023-07-19 09:58:37 +00:00
2024-07-08 07:36:32 +00:00
2024-06-24 16:21:32 +00:00
2022-04-07 17:37:29 +00:00
2024-06-28 13:26:24 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2024-04-30 22:44:32 +00:00
2024-08-27 07:19:32 +00:00
2024-04-17 07:57:36 +00:00
2024-03-22 06:07:42 +00:00
2023-07-19 09:58:37 +00:00
2023-10-25 22:23:37 +00:00
2024-06-04 07:11:35 +00:00
2022-08-04 20:44:32 +00:00
2024-08-06 16:29:33 +00:00