1
0
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:
Stefan Metzmacher
2006-05-21 10:13:49 +00:00
committed by Gerald (Jerry) Carter
parent 9c4c40772b
commit c7e8e79d75
2 changed files with 2 additions and 0 deletions

View File

@@ -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);
}