git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3650525
)
r21533: try to get rid of the valgrind warnings of uninitialized memory
author
Stefan Metzmacher
<metze@samba.org>
Sun, 25 Feb 2007 16:56:53 +0000
(16:56 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:48:53 +0000
(14:48 -0500)
passed to a socket
metze
source/torture/basic/aliases.c
patch
|
blob
|
history
diff --git
a/source/torture/basic/aliases.c
b/source/torture/basic/aliases.c
index d8da435e2f2102173ecdbbd190cbce4b31ee7b28..d90ced213a4cb52b1674103b579a953b7cec9a68 100644
(file)
--- a/
source/torture/basic/aliases.c
+++ b/
source/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);