sviehb/jefferson

Wrong extraction when file size greater than 1 erase block

Closed this issue · 0 comments

@qkaiser
Please check page 12.

https://sourceware.org/jffs2/jffs2-slides-transformed.pdf

if inode.ino in fs[JFFS2_NODETYPE_INODE]:
    if inode.version > fs[JFFS2_NODETYPE_INODE][inode.ino].version:
        fs[JFFS2_NODETYPE_INODE][inode.ino] = inode
else:
    fs[JFFS2_NODETYPE_INODE][inode.ino] = inode