git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd43f4
)
s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
author
Günther Deschner
<gd@samba.org>
Tue, 9 Mar 2010 15:10:40 +0000
(16:10 +0100)
committer
Günther Deschner
<gd@samba.org>
Tue, 9 Mar 2010 15:14:39 +0000
(16:14 +0100)
Guenther
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index 909c37246dd4ebb5d7b854c2ee252d1a1406697d..f83d3b59069aa814867f78d45fe4f3f22ec8c63b 100644
(file)
--- 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;