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

[JFFS2] Handle dirents on the flash with embedded zero bytes in names.



In three places: summary scan, normal scan, REF_PRISTINE GC.

Just truncate at the NUL, since that was the correct thing to do in the
only case where this (inexplicable) breakage has been seen.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 69ca4378
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment