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:
b3d2345
)
5 uint32_t's should be set, not 5 bytes.
author
Wilco Baan Hofman
<wilco@baanhofman.nl>
Mon, 30 Aug 2010 13:27:05 +0000
(15:27 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 3 Oct 2010 13:31:37 +0000
(15:31 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/registry/regf.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/regf.c
b/source4/lib/registry/regf.c
index 58cc51c20260b830d949b204ee6c8f64fe28c741..89b4327ba35f3981b85dba435efdd4dd580ef55d 100644
(file)
--- a/
source4/lib/registry/regf.c
+++ b/
source4/lib/registry/regf.c
@@
-1748,7
+1748,7
@@
static WERROR regf_add_key(TALLOC_CTX *ctx, const struct hive_key *parent,
nk.unknown_offset = -1;
nk.num_values = 0;
nk.values_offset = -1;
- memset(nk.unk3, 0,
5
);
+ memset(nk.unk3, 0,
sizeof(nk.unk3)
);
nk.clsname_offset = -1; /* FIXME: fill in */
nk.clsname_length = 0;
nk.key_name = name;