summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/spoolss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 909c37246d..f83d3b5906 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -3353,6 +3353,7 @@ static bool test_winreg_QueryValue(struct torture_context *tctx,
r.in.type = &type;
r.in.data_size = &data_size;
r.in.data_length = &data_length;
+ r.in.data = talloc_zero_array(tctx, uint8_t, *r.in.data_size);
r.out.type = &type;
r.out.data = talloc_zero_array(tctx, uint8_t, *r.in.data_size);
r.out.data_size = &data_size;