git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef2cd51
)
s4-torture: Make sure handles are correctly initialized.
author
Andreas Schneider
<asn@samba.org>
Wed, 4 Dec 2013 13:01:50 +0000
(14:01 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 6 Dec 2013 00:14:09 +0000
(
01:14
+0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/torture/rpc/spoolss.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/spoolss.c
b/source4/torture/rpc/spoolss.c
index d216e07aeb571976858f3c148123d0c4e641aef5..e795a709c9bb54d1847ae1e818cedc684cf60bc0 100644
(file)
--- a/
source4/torture/rpc/spoolss.c
+++ b/
source4/torture/rpc/spoolss.c
@@
-4970,7
+4970,7
@@
static bool test_GetDriverInfo_winreg(struct torture_context *tctx,
struct policy_handle *hive_handle,
const char *server_name_slash)
{
- WERROR result;
+ WERROR result
= WERR_OK
;
union spoolss_DriverInfo info;
const char *driver_key;
struct policy_handle key_handle;
@@
-4987,6
+4987,8
@@
static bool test_GetDriverInfo_winreg(struct torture_context *tctx,
const char *driver_version;
const char *inbox_driver_version;
+ ZERO_STRUCT(key_handle);
+
torture_comment(tctx, "Testing Driver Info and winreg consistency\n");
driver_key = talloc_asprintf(tctx, "%s\\%s\\Drivers\\Version-%d\\%s",