svn commit: samba r21943 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Fri Mar 23 09:11:53 GMT 2007


Author: metze
Date: 2007-03-23 09:11:53 +0000 (Fri, 23 Mar 2007)
New Revision: 21943

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

Log:
don't send unitialized data

metze
Modified:
   branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c	2007-03-22 22:15:35 UTC (rev 21942)
+++ branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c	2007-03-23 09:11:53 UTC (rev 21943)
@@ -2287,7 +2287,7 @@
 		return False;
 	}
 
-	blob = data_blob_talloc(mem_ctx, NULL, r.out.needed);
+	blob = data_blob_talloc_zero(mem_ctx, r.out.needed);
 	if (blob.data == NULL) {
 		d_printf("(%s) data_blob_talloc failed\n", __location__);
 		return False;



More information about the samba-cvs mailing list