r21523: fix a valgrind warning, we write the struct content to the file and should...
authorStefan Metzmacher <metze@samba.org>
Sat, 24 Feb 2007 09:00:23 +0000 (09:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:48:50 +0000 (14:48 -0500)
t2.out uninialized

metze

source/torture/basic/aliases.c

index 01ca33359d17743b1c3216892088f3a6ae1434f7..d8da435e2f2102173ecdbbd190cbce4b31ee7b28 100644 (file)
@@ -160,6 +160,7 @@ 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);