<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Detect corrupted content-length in Maildirs



On Fri, Aug 13, 2010 at 01:49:06AM +0200, Michael Hanselmann wrote:
I think this whole block can be reduced to always setting
h->content->length.  All the necessary information is there, and I don't see
any other place where it is adjusted.

You're right. I'll send another patch tomorrow.

I'll fix it, no need for a patch.

It is curious how the corruption happened, however.  It appears something
damaged the cache itself.

Unfortunately I've no way to find out. I was converting old mails and
it might even have been the sender.

Another mail didn't end with a newline and led to similar corruption
("</html>^A^A^A^A"), but I haven't been able to figure out a good way
to work around it. Should I file a ticket for this case?

Yes, please do. Mutt should ensure that a newline precedes the mmdf message separator.

me