[Yaffs-archive] YAFFS truncation bug

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: [Yaffs-archive] YAFFS truncation bug
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 with the text "unsubscribe"
(without the quotes) as the subject.