X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=lib%2Fhivex.c;h=7715520a3dc560abb99565dcaa40e1bcfb8ee09e;hb=107fb672a316d99980efbabcc50142306fb34003;hp=2abd5bd908ca3ade10caea69eaa1ba9e9833aa19;hpb=d5ed3c8f348e4ce6bc944ae6312bf9d8bfe852d4;p=hivex.git diff --git a/lib/hivex.c b/lib/hivex.c index 2abd5bd..7715520 100644 --- 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)