1
0
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:
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

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