[Yaffs-archive] YAFFS truncation bug

Charles Manning manningc2@actrix.gen.nz
Tue, 1 Oct 2002 18:26:07 +1200


A bug was detected in yaffs that causes a file to be truncated under certain 
conditions.

The file gets truncated to the end of the last write to the last page in the 
file. The ile data is actually written, but the chunk length is recorded 
incorrectly. This means next mount, the file gets truncated.

I have fixed this. It will be in the next check in.

-- Charles


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.