git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bd7f6a
)
r15878: Add explicit initialization to make the IBM checker happy.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 24 May 2006 23:09:29 +0000
(23:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:08:36 +0000
(14:08 -0500)
(This used to be commit
3a5d3eb62c61d264fb583d2c94e3b3446988051b
)
source4/lib/registry/reg_backend_nt4.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/reg_backend_nt4.c
b/source4/lib/registry/reg_backend_nt4.c
index c5f07e7b190eca4556bf03b176f79a6b0211905f..d1d19f904b724091b2ca3bd95c55d79d8bb440f8 100644
(file)
--- a/
source4/lib/registry/reg_backend_nt4.c
+++ b/
source4/lib/registry/reg_backend_nt4.c
@@
-903,11
+903,11
@@
static uint32_t lf_add_entry (struct regf_data *regf, uint32_t list_offset, cons
uint32_t ret;
struct lf_block lf;
+ ZERO_STRUCT(lf);
+
/* Add to subkeys list */
if (list_offset == -1) { /* Need to create subkeys list */
lf.header = "lf";
- lf.key_count = 0;
- lf.hr = NULL;
} else {
if (!hbin_get_tdr(regf, list_offset, regf, (tdr_pull_fn_t)tdr_pull_lf_block, &lf)) {
DEBUG(0, ("Can't get subkeys list\n"));