1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source3
David Disseldorp b2ce6308c1 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

(cherry picked from commit 5e278a5264)
2024-09-02 08:31:25 +00:00
..
auth s3:auth: allow real plaintext authentication 2024-07-17 11:17:54 +00:00
build
client smbspool: let kerberos_ccache_is_valid() use smb_force_krb5_cc_default_name() 2024-05-14 10:18:32 +00:00
exports
groupdb s3:groupdb: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
include lib: Remove "token" parameter from set_namearray 2024-07-31 15:00:11 +00:00
intl
lib s3:lib: add winbind_lookup_name_ex() fallback for --without-winbind 2024-08-07 10:00:12 +00:00
libads s3:libads: Do not print error message for a default configuration 2024-08-20 07:39:20 +00:00
libgpo/gpext lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
libnet s3:libnet: Sync keytab during libnet_join_create_keytab() 2024-07-26 17:12:36 +00:00
librpc s3:librpc: Fix a typo in DEBUG text 2024-07-17 07:48:31 +00:00
libsmb s3:lib: Merge library trusts_util into library ads 2024-07-26 17:12:36 +00:00
locale s3:utils: Fix code spelling 2023-08-08 04:39:38 +00:00
locking smbd: Use direct struct initialization 2024-05-22 04:23:29 +00:00
modules vfs_ceph_new: use 'ceph_new' for config-param prefix 2024-08-13 15:37:12 +00:00
nmbd s3:libsmb: Pass memory context to cli_connect_nb() 2024-04-29 08:43:32 +00:00
param loadparm: Add lp_wi_scan_share_parametrics 2024-07-31 15:00:11 +00:00
passdb s3: Sync machine account password in secrets_{prepare,finish}_password_change 2024-07-26 17:12:36 +00:00
printing s3:printing: Allow to run samba-bgqd as a standalone systemd service 2024-07-19 11:13:28 +00:00
profile profile: Fix rusage reporting 2023-12-19 16:05:36 +00:00
registry s3:registry: Use correct integer sizes 2024-07-08 07:36:32 +00:00
rpc_client s3/rpc_client: fix handling of NT_STATUS_SOME_NOT_MAPPED 2024-07-26 10:06:31 +00:00
rpc_server s3:rpc_server: Initialize array 2024-07-08 08:37:46 +00:00
rpcclient s3:lib: Merge library trusts_util into library ads 2024-07-26 17:12:36 +00:00
script source3/script: Fix installation of winbind_ctdb_updatekeytab.sh 2024-08-20 07:39:20 +00:00
selftest selftest: Add tests for keytab update in clustered samba 2024-07-26 17:12:36 +00:00
services s3:services: Initialize struct security_ace array 2024-07-16 11:41:33 +00:00
smbd smb2_ioctl: fix truncated FSCTL_QUERY_ALLOCATED_RANGES responses 2024-09-02 08:31:25 +00:00
torture lib: Remove "token" parameter from set_namearray 2024-07-31 15:00:11 +00:00
utils s3:utils: Remove from "net ads keytab": "add", "delete" and "add_update_ads" 2024-07-26 17:12:36 +00:00
web
winbindd winbindd: let LookupNames return NT_STATUS_OK and SID_NAME_UNKNOWN for unmapped names 2024-07-26 10:06:31 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript vfs_ceph_new: next iteration of samba-to-cephfs bridge 2024-08-13 15:37:12 +00:00
wscript_build s3:lib: Merge library trusts_util into library ads 2024-07-26 17:12:36 +00:00
wscript_configure_system_ncurses