mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
5 uint32_t's should be set, not 5 bytes.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
b3d2345bd1
commit
90d82870b0
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user