svn commit: samba r21524 - in branches/SAMBA_4_0/source/torture/smb2: .

metze at samba.org metze at samba.org
Sat Feb 24 09:16:05 GMT 2007


Author: metze
Date: 2007-02-24 09:16:04 +0000 (Sat, 24 Feb 2007)
New Revision: 21524

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

Log:
don't send unitialized data to the socket

metze
Modified:
   branches/SAMBA_4_0/source/torture/smb2/scan.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/smb2/scan.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smb2/scan.c	2007-02-24 09:00:23 UTC (rev 21523)
+++ branches/SAMBA_4_0/source/torture/smb2/scan.c	2007-02-24 09:16:04 UTC (rev 21524)
@@ -127,7 +127,7 @@
 	torture_smb2_testfile(tree, FNAME, &handle);
 
 	ZERO_STRUCT(io);
-	io.in.blob = data_blob_talloc(mem_ctx, NULL, 1024);
+	io.in.blob = data_blob_talloc_zero(mem_ctx, 1024);
 
 	for (c=1;c<5;c++) {
 		for (i=0;i<0x100;i++) {



More information about the samba-cvs mailing list