Bug in Samba's implementation of FSCTL_QUERY_ALLOCATED_RANGES?

Paulo Alcantara pc at manguebit.com
Thu May 23 15:28:35 UTC 2024


Tom Talpey <tom at talpey.com> writes:

> Yeah, I think this is a Samba server issue. Ronnie is right that it
> should return a partial response and a STATUS_BUFFER_OVERFLOW error
> indicating that it's partial. It's not supposed to return
> STATUS_BUFFER_TOO_SMALL unless the entire buffer is less than one
> entry.
>
> MS-FSA section 2.5.10.22
>
> https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fsa/385dec98-90fe-477f-9789-20a47a7b8467

Yes.  I've just tested it against Windows Server 2022 and it correctly
returns STATUS_BUFFER_OVERFLOW.



More information about the samba-technical mailing list