s4:torture:basic: fix 'Syscall param writev(vector[...])' valgrind error
[metze/samba/wip.git] / source4 / torture / basic / attr.c
index 8d51fa3de9cd3217e972ec70658e1bfd1f076014..9eb9ec877eec7551f0b0ee0db8b75fe46e0d6b5d 100644 (file)
@@ -198,7 +198,8 @@ bool torture_winattrtest(struct torture_context *tctx,
        union smb_fileinfo query, query_org;
        NTSTATUS status;
        struct security_descriptor *sd1, *sd2;
-
+       ZERO_STRUCT(query);
+       ZERO_STRUCT(query_org);
 
        /* Test winattrs for file */
        smbcli_unlink(cli1->tree, fname);