svn commit: samba r21523 - in branches/SAMBA_4_0/source/torture/basic: .

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


Author: metze
Date: 2007-02-24 09:00:23 +0000 (Sat, 24 Feb 2007)
New Revision: 21523

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

Log:
fix a valgrind warning, we write the struct content to the file and should not leave
t2.out uninialized

metze
Modified:
   branches/SAMBA_4_0/source/torture/basic/aliases.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/basic/aliases.c
===================================================================
--- branches/SAMBA_4_0/source/torture/basic/aliases.c	2007-02-23 18:02:16 UTC (rev 21522)
+++ branches/SAMBA_4_0/source/torture/basic/aliases.c	2007-02-24 09:00:23 UTC (rev 21523)
@@ -160,6 +160,7 @@
 	t2.in.setup = &setup;
 	t2.in.params = data_blob_talloc(tctx, NULL, 6);
 	t2.in.data = data_blob(NULL, 0);
+	ZERO_STRUCT(t2.out);
 
 	smbcli_unlink(cli->tree, fname);
 	fnum = create_complex_file(cli, cli, fname);



More information about the samba-cvs mailing list