s4:torture:raw: fix 'Syscall param writev(vector[...])' valgrind error
[samba.git] / source4 / torture / raw / open.c
index dc76b0bf08bfa3d18e839aa80c18dd109ab7ffae..fb8749d522095acdeade4c5c087df6d3e06cb9eb 100644 (file)
@@ -1700,6 +1700,8 @@ static bool test_chained_ntcreatex_readx(struct torture_context *tctx, struct sm
        const char buf[] = "test";
        char buf2[4];
 
+       ZERO_STRUCT(io);
+
        torture_assert(tctx, torture_setup_dir(cli, BASEDIR), "Failed to setup up test directory: " BASEDIR);
 
        torture_comment(tctx, "Checking RAW_NTCREATEX_READX chained on "