RHEL5 pcre-6.6 lib and amavisd-2.10.1

Mika Ilmaranta ilmis at foobar.fi
Wed Mar 18 19:16:53 CET 2015


In amavisd-2.10.0 (and later) is a check is_valid_utf_8() whose regexp
makes pcre-6.6 stack overflow when given a To: -header which is more
than a thousand rows long. To be exact I stumbled on a To: -header that
was a little less than 1400 lines.

Making the stack 10x bigger than default for amavis with ulimit -s
102400 deals with it, but should amavis check the headers line by line
rather than in a single blob?


Mika Ilmaranta <ilmis at foobar.fi>
Foobar Linux services
+358 50 3023638
Foobar Oy <http://foobar.fi/>

More information about the amavis-users mailing list