mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33:15 +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
@@ -94,6 +94,7 @@ struct smb2_request *smb2_request_init(struct smb2_transport *transport, uint16_
|
||||
* 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