From a67d2e0a83c9b97c23d74f5ea9cc5d1521f18b62 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 11 Nov 2007 14:06:02 +0100 Subject: r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID (found by make valgrindtest) metze (This used to be commit e95c2ffe009ebdc9993b75ecc1a47175ff840ec4) --- source4/torture/raw/samba3misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture') diff --git a/source4/torture/raw/samba3misc.c b/source4/torture/raw/samba3misc.c index 988405e806..8e41469963 100644 --- a/source4/torture/raw/samba3misc.c +++ b/source4/torture/raw/samba3misc.c @@ -834,6 +834,7 @@ bool torture_samba3_rootdirfid(struct torture_context *tctx) 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; -- cgit