mirror of
https://github.com/samba-team/samba.git
synced 2025-12-09 00:23:50 +03:00
r15770: when there's a dynamic body, we need to send the first byte even if the
dynamic size if 0 metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9c4c40772b
commit
c7e8e79d75
@@ -85,6 +85,7 @@ NTSTATUS smb2srv_setup_reply(struct smb2srv_request *req, uint16_t body_fixed_si
|
||||
* which is always be part of the packet is initialized
|
||||
*/
|
||||
if (body_dynamic_size) {
|
||||
req->out.size += 1;
|
||||
SCVAL(req->out.dynamic, 0, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user