svn commit: samba r14538 - in branches/SAMBA_4_0/source/smb_server/smb: .

metze at samba.org metze at samba.org
Sat Mar 18 08:12:36 GMT 2006


Author: metze
Date: 2006-03-18 08:12:35 +0000 (Sat, 18 Mar 2006)
New Revision: 14538

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

Log:
ok, I have better used make valgrindtest my self...

the 3 bytes for WordCount and ByteCount are included in MIN_SMB_SIZE...

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb/request.c


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb/request.c
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb/request.c	2006-03-18 08:04:11 UTC (rev 14537)
+++ branches/SAMBA_4_0/source/smb_server/smb/request.c	2006-03-18 08:12:35 UTC (rev 14538)
@@ -105,7 +105,7 @@
 		return;
 	}
 
-	req->out.size = NBT_HDR_SIZE + MIN_SMB_SIZE + 1 + VWV(wct) + 2 + buflen;
+	req->out.size = NBT_HDR_SIZE + MIN_SMB_SIZE + VWV(wct) + buflen;
 
 	/* over allocate by a small amount */
 	req->out.allocated = req->out.size + REQ_OVER_ALLOCATION; 



More information about the samba-cvs mailing list