You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/11/08 20:36:18 UTC

[Bug 5644] Message sends BodyEval::check_stock_info into hard loop

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5644





------- Additional Comments From matt@nightrealms.com  2007-11-08 11:36 -------
Created an attachment (id=4185)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=4185&action=view)
Avoid problem by applying regexp to one line at a time

Avoid pathological cases where the regexp takes a massive amount of time by
applying the regexp to only one line at a time.  This change prevents the rule
from catching instances where the whitespace in "keyword\s*:\s*value" contains
a newline; I don't know if this happens often enough to be a problem.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.