On Wed, 26 Aug 2026 10:10:30 -0300, Wagner Popov dos Santos wrote:

> jffs2_1pass_build_lists() initializes inode and dirent list entries from
> raw node scanning, but leaves b->datacrc uninitialized in both paths.
> 
> Later, jffs2_1pass_read_inode() uses b->datacrc to decide whether to
> compute and validate the node data CRC, or to discard the entry as
> CRC_BAD. With an undefined value, behavior is non-deterministic:
> entries may be incorrectly dropped or CRC verification may be skipped.
> 
> [...]

Applied to u-boot/next, thanks!

[1/1] jffs2: initialize datacrc for inode/dirent entries built from scan
      commit: 7ac3028f4796114786909f486c5d276937b793dd
-- 
Tom


Reply via email to