Comment 6 for bug 21178

Revision history for this message
Mario Manno (manno) wrote :

Evolution 2.22.3 will give up rendering after trying for some time and display a warning: "Evolution cannot render this email as it is too large to handle. You can view it unformatted or with an external text editor."

You can create a simple test file with
   perl -e 'print "\n"x1000000' > /tmp/evil.txt

The upstream bug is about evolution honoring "Content-Disposition: inline" for attachments.

There are several issues here:
* there is no option to ignore content-disposition:inline to prevent harmful attachments from displaying automatically (#229013)
* rendering texts uses too much memory and cpu (1mb newlines => 50% ram)
* after displaying the warning evolution continues to consume memory and does not free it until program exits