summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-25 16:56:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:53 -0500
commit0e617102ef2091915e43296ef52cede1fcf173c8 (patch)
tree359a2c7602c9b723404eafec4e06f5f5784f028f
parentcb8fceab28c71c7513e0732e1a9e2c9f61bfa31b (diff)
downloadsamba-0e617102ef2091915e43296ef52cede1fcf173c8.tar.gz
samba-0e617102ef2091915e43296ef52cede1fcf173c8.tar.bz2
samba-0e617102ef2091915e43296ef52cede1fcf173c8.zip
r21533: try to get rid of the valgrind warnings of uninitialized memory
passed to a socket metze (This used to be commit 18ce33844738179a5434b91b362606bc4bdfa6b5)
-rw-r--r--source4/torture/basic/aliases.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c
index d8da435e2f..d90ced213a 100644
--- a/source4/torture/basic/aliases.c
+++ b/source4/torture/basic/aliases.c
@@ -151,6 +151,7 @@ static bool qpathinfo_aliases(struct torture_context *tctx,
const char *fname = "\\qpathinfo_aliases.txt";
int fnum;
+ ZERO_STRUCT(t2);
t2.in.max_param = 2;
t2.in.max_data = smb_raw_max_trans_data(cli->tree, 2);
t2.in.max_setup = 0;
@@ -160,7 +161,6 @@ static bool qpathinfo_aliases(struct torture_context *tctx,
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);