git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4884b5
)
lib: Fix CID 1373388 Uninitialized scalar variable
author
Volker Lendecke
<vl@samba.org>
Tue, 27 Sep 2016 16:28:51 +0000
(09:28 -0700)
committer
Volker Lendecke
<vl@samba.org>
Wed, 28 Sep 2016 13:19:21 +0000
(15:19 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/lib/registry/rpc.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/rpc.c
b/source4/lib/registry/rpc.c
index d4578480bad48db8f18f78206ebd723a7be00de5..2f6edf3b56981048a0f75e14c3c9990e8a81b2a5 100644
(file)
--- a/
source4/lib/registry/rpc.c
+++ b/
source4/lib/registry/rpc.c
@@
-319,7
+319,7
@@
static WERROR rpc_del_value(TALLOC_CTX *mem_ctx, struct registry_key *key,
struct winreg_String name;
NTSTATUS status;
- name
.name = value_name
;
+ name
= (struct winreg_String) { .name = value_name }
;
ZERO_STRUCT(r);
r.in.handle = &mykeydata->pol;