svn commit: samba r11996 - in branches/SAMBA_4_0/source/libcli/smb2: .

metze at samba.org metze at samba.org
Thu Dec 1 07:09:24 GMT 2005


Author: metze
Date: 2005-12-01 07:09:24 +0000 (Thu, 01 Dec 2005)
New Revision: 11996

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11996

Log:
don't overwrite the buffercode

metze
Modified:
   branches/SAMBA_4_0/source/libcli/smb2/tcon.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb2/tcon.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/smb2/tcon.c	2005-12-01 05:20:39 UTC (rev 11995)
+++ branches/SAMBA_4_0/source/libcli/smb2/tcon.c	2005-12-01 07:09:24 UTC (rev 11996)
@@ -60,7 +60,7 @@
 
 	SBVAL(req->out.hdr,  SMB2_HDR_UID, tree->session->uid);
 
-	SIVAL(req->out.body, 0x00, io->in.unknown1);
+	SSVAL(req->out.body, 0x02, io->in.unknown1);
 	status = smb2_push_o16s16_string(&req->out, 0x04, io->in.path);
 	if (!NT_STATUS_IS_OK(status)) {
 		talloc_free(req);



More information about the samba-cvs mailing list