Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3877f0b6 authored by David Woodhouse's avatar David Woodhouse
Browse files

[JFFS2] Don't trust node headers before the CRC is checked.



Especially when summary code is used, we can have in-memory data
structures referencing certain nodes without them actually being readable
on the flash. Discard the nodes gracefully in that case, rather than
triggering a BUG().

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 21c8db9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment