svn commit: samba r15770 - in branches/SAMBA_4_0/source:
libcli/smb2 smb_server/smb2
metze at samba.org
metze at samba.org
Sun May 21 10:13:49 GMT 2006
Author: metze
Date: 2006-05-21 10:13:49 +0000 (Sun, 21 May 2006)
New Revision: 15770
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15770
Log:
when there's a dynamic body, we need to send the first byte even if the
dynamic size if 0
metze
Modified:
branches/SAMBA_4_0/source/libcli/smb2/request.c
branches/SAMBA_4_0/source/smb_server/smb2/receive.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb2/request.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/smb2/request.c 2006-05-21 10:06:15 UTC (rev 15769)
+++ branches/SAMBA_4_0/source/libcli/smb2/request.c 2006-05-21 10:13:49 UTC (rev 15770)
@@ -94,6 +94,7 @@
* which is always be part of the packet is initialized
*/
if (body_dynamic_size) {
+ req->out.size += 1;
SCVAL(req->out.dynamic, 0, 0);
}
Modified: branches/SAMBA_4_0/source/smb_server/smb2/receive.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb2/receive.c 2006-05-21 10:06:15 UTC (rev 15769)
+++ branches/SAMBA_4_0/source/smb_server/smb2/receive.c 2006-05-21 10:13:49 UTC (rev 15770)
@@ -85,6 +85,7 @@
* which is always be part of the packet is initialized
*/
if (body_dynamic_size) {
+ req->out.size += 1;
SCVAL(req->out.dynamic, 0, 0);
}
More information about the samba-cvs
mailing list