Skip to content

Commit 824ba94

Browse files
Hrant TadevosyanHrant Tadevosyan
authored andcommitted
fixed omap parsing
1 parent 7d538ad commit 824ba94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/apfs.hexpat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ fn omap_node_lookup(paddr_t off, u64 block_size, oid_t oid, xid_t xid) {
13261326
}
13271327

13281328
if (node.btn_level > 0) {
1329-
off = node.btn_toc[current].node_oid * block_size;
1329+
off = node.btn_toc[idx].node_oid * block_size;
13301330
continue;
13311331
}
13321332

0 commit comments

Comments
 (0)