summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-11 14:06:02 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:05 +0100
commita67d2e0a83c9b97c23d74f5ea9cc5d1521f18b62 (patch)
treee52ee7bc90f5dbc1b81c67e26a9b6f447f55ec15
parent089acd77b6cfb81b8951ae6db0fefc73c2599b22 (diff)
downloadsamba-a67d2e0a83c9b97c23d74f5ea9cc5d1521f18b62.tar.gz
samba-a67d2e0a83c9b97c23d74f5ea9cc5d1521f18b62.tar.bz2
samba-a67d2e0a83c9b97c23d74f5ea9cc5d1521f18b62.zip
r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID
(found by make valgrindtest) metze (This used to be commit e95c2ffe009ebdc9993b75ecc1a47175ff840ec4)
-rw-r--r--source4/torture/raw/samba3misc.c1
1 files changed, 1 insertions, 0 deletions
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;