svn commit: samba r25925 - in branches/SAMBA_4_0/source/torture/raw: .

metze at samba.org metze at samba.org
Sun Nov 11 14:06:02 GMT 2007


Author: metze
Date: 2007-11-11 14:06:02 +0000 (Sun, 11 Nov 2007)
New Revision: 25925

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

Log:
torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID

(found by make valgrindtest)

metze
Modified:
   branches/SAMBA_4_0/source/torture/raw/samba3misc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/samba3misc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/samba3misc.c	2007-11-11 13:59:01 UTC (rev 25924)
+++ branches/SAMBA_4_0/source/torture/raw/samba3misc.c	2007-11-11 14:06:02 UTC (rev 25925)
@@ -834,6 +834,7 @@
 
 	smbcli_unlink(cli->tree, fname);
 
+	ZERO_STRUCT(io);
 	io.generic.level = RAW_OPEN_NTCREATEX;
 	io.ntcreatex.in.flags = NTCREATEX_FLAGS_EXTENDED;
 	io.ntcreatex.in.root_fid = 0;



More information about the samba-cvs mailing list