]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: check allocsize change request against current allocsize
authorRalph Boehme <slow@samba.org>
Mon, 10 Mar 2025 13:03:33 +0000 (14:03 +0100)
committerRalph Boehme <slow@samba.org>
Thu, 27 Mar 2025 05:37:43 +0000 (05:37 +0000)
commit560c7359cedc0286f75d4946e755f7925b9c4e45
tree0797e062c66b1c9cb04e8fb819ff199f86f743bc
parente60f6415584199b7d61b622169d3907558e9e80e
smbd: check allocsize change request against current allocsize

Cf MS-FSA 2.1.5.15.1 FileAllocationInformation:

  If Open.Stream.AllocationSize is equal to NewAllocationSize,
  the operation MUST return STATUS_SUCCESS.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13594

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_trans2.c