From 1911475976de4a54787ac263eb4b15cb3db5eea3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 21 May 2006 10:13:49 +0000 Subject: r15770: when there's a dynamic body, we need to send the first byte even if the dynamic size if 0 metze (This used to be commit c7e8e79d75fd53fa37e9220e5bc9cac7ab574ff6) --- source4/libcli/smb2/request.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/libcli/smb2/request.c') diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c index e631375a52..43445575f0 100644 --- a/source4/libcli/smb2/request.c +++ b/source4/libcli/smb2/request.c @@ -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); } -- cgit