diff options
author | Günther Deschner <gd@samba.org> | 2010-03-09 16:10:40 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-09 16:14:39 +0100 |
commit | 48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84 (patch) | |
tree | bd102dc5244b4a5b457e5867057096ab8bfec20e /source4 | |
parent | 8fd43f44efcf0a5ee3ccf8ad1d2b69d1570e6ac4 (diff) | |
download | samba-48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84.tar.gz samba-48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84.tar.bz2 samba-48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84.zip |
s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
Guenther
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/spoolss.c | 1 |
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; |