Help → Sudden death when processing mail containing very long line

Sudden death when processing mail containing very long line

Hi there!

I'm reporting a bug here, since it seems necessary to own special permissions to file a bug..

I'm running POPFile 1.1.3, running on a CentOS6 GNU/Linux system, happy user for years (since 0.22.x). The issue could be reproduced w/ 1.0.0 as well.

Recently I received an text email containing a 2392874-byte line (the text part contains a json file with a base64 very long line).

What happens in POPFile, is that a subprocess will show up in top, eating 100% CPU and never giving up until I kill it. POPFile will then be unusable, until I delete the incriminated email from the POP3 server.

Many apps will not work properly when handling such file w/ a very long line, but crashing or being dead is not an option, IMO. Squirrelmail fails to display the email, GTK+ app show junk overlapping characters, other apps will just slow down, etc.

Is that something that could be fixed in POPFile itself? Or does it belong to its dependencies?