git.annexia.org
/
hivex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hivex: Fix for endianess bug.
[hivex.git]
/
lib
/
hivex.c
diff --git
a/lib/hivex.c
b/lib/hivex.c
index
2abd5bd
..
7715520
100644
(file)
--- a/
lib/hivex.c
+++ b/
lib/hivex.c
@@
-1062,7
+1062,7
@@
get_values (hive_h *h, hive_node_h node,
size_t i;
for (i = 0; i < nr_values; ++i) {
- hive_node_h value =
vlist->offset[i]
;
+ hive_node_h value =
le32toh (vlist->offset[i])
;
value += 0x1000;
if (!IS_VALID_BLOCK (h, value)) {
if (h->msglvl >= 2)