Patch to fix jffs2's lack of "data crc".
1. A description of the bug:
When jffs2 reads files it crc's the header but not the data. If the data is corrupt it can cause jffs2 to accept a chunk when it shouldn't. My patch adds in code to crc the data.
2. A CHANGELOG entry
Add crc of data to jffs2 (in jffs2_1pass_build_lists()).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 1345 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050615/02f949bc/attachment.obj
Wolfgang Denk
AppliedQuoted 8 lines · In message <[email protected]> you wrote:
When jffs2 reads files it crc's the header but not the data. If the data is corrupt it can cause jffs2 to accept a chunk when it shouldn't. My patch adds in code to crc the data.
2. A CHANGELOG entry
Add crc of data to jffs2 (in
jffs2_1pass_build_lists()).
applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "There's only one kind of woman ..." "Or man, for that matter. You either believe in yourself or you don't." -- Kirk and Harry Mudd, "Mudd's Women", stardate 1330.1