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:
cc24af6
)
r10104: Fix code before declaration.
author
Tim Potter
<tpot@samba.org>
Fri, 9 Sep 2005 04:22:58 +0000
(
04:22
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:37:59 +0000
(13:37 -0500)
source/lib/registry/reg_backend_nt4.c
patch
|
blob
|
history
diff --git
a/source/lib/registry/reg_backend_nt4.c
b/source/lib/registry/reg_backend_nt4.c
index f31a2f52e7e2a00c641a5c59fe17afe3aaff3919..e5c022150440105122da83170baa3bf134a09b05 100644
(file)
--- a/
source/lib/registry/reg_backend_nt4.c
+++ b/
source/lib/registry/reg_backend_nt4.c
@@
-147,8
+147,8
@@
static DATA_BLOB hbin_alloc (struct regf_data *data, uint32_t size, uint32_t *of
int j;
uint32_t my_size;
for (j = 0; j < hbin->offset_to_next-0x20; j+= my_size) {
- my_size = IVAL(hbin->data, j);
uint32_t header = IVAL(hbin->data, j + 4);
+ my_size = IVAL(hbin->data, j);
if (my_size == 0x0) {
DEBUG(0, ("Invalid zero-length block! File is corrupt.\n"));