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:
4e05717
)
s3: Fix Coverity ID 242726 Uninitialized scalar variable
author
Volker Lendecke
<vl@samba.org>
Wed, 9 May 2012 08:51:54 +0000
(10:51 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 10 May 2012 07:11:57 +0000
(09:11 +0200)
Not a functional bug, but we copy all of the "key" structure inside
dcerpc_winreg_OpenKey.
source3/utils/net_rpc_conf.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rpc_conf.c
b/source3/utils/net_rpc_conf.c
index 3e13b12bd8818884eca0a78128fbe5f8f24ca2b4..4e2118d1c10e8143c8b9c905aa76f39b87e9a9a3 100644
(file)
--- a/
source3/utils/net_rpc_conf.c
+++ b/
source3/utils/net_rpc_conf.c
@@
-442,7
+442,7
@@
static NTSTATUS rpc_conf_get_share(TALLOC_CTX *mem_ctx,
const char **val_names;
enum winreg_Type *types;
DATA_BLOB *data;
- struct winreg_String key;
+ struct winreg_String key
= { 0, }
;
const char **multi_s = NULL;
const char *s = NULL;
struct smbconf_service tmp_share;