Thomas,

> During the last days I encountered a few mails containing nothing but a
> single line with many whitespaces (> 15000) within their body. These
> mails are able to completely block an amavisd-new process (nanny reports
> "went away").

I got one sample myself. It causes Perl process to exceed virtual memory
quota during evaluation of a regular expression in sub parse_received,
due to deep recursion. This is not an essential function,
so a quick workaround like inserting a:
  return {};
right after entering this routine is a quick band aid.
I'll see what can be done better.

> But nontheless I really dislike segfaulting processes, as they often
> announce the next potential security hole :-(
>    Segfaults are evil *grrr*

Very true. At least in this particular case it is 'just' an exhaustion
of a process limit, so it is not likely to be a security threat.

  Mark

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to