Re: [PATCH] Detect corrupted content-length in Maildirs
On Thu, Aug 12, 2010 at 04:35:15PM -0700, Michael Elkins wrote:
It is curious how the corruption happened, however. It appears
something damaged the cache itself.
Thinking about this some more after looking at the code, this bug can occur
when the user edits the message after the header has been cached. The code
checks that the mtime is newer than what is in the cache, and re-reads the
message to refresh, but in this case the content length is not updated. So it
should always update the content length.
me