[Mimedefang] Razor plugin uses forbidden $' operator

Martin Blapp mb at imp.ch
Tue Feb 20 15:51:22 EST 2007


Hi everybody,

This patch is important for anyone using SpamAssassin
and the Razor plugin together because this plugin uses
the forbidden $' operator.

as 'perldoc perlvar' states:

    The use of this variable anywhere in a program imposes a consider-
    able performance penalty on all regular expression matches.  See
    "BUGS".

I've modified the third part in the SA-patch included in the SA bugreport
because the author didn't made the changes against 2.82

http://antispam.imp.ch/patches/patch-razor282-regexregression

The original SA-Bugreport can be found on:

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

Martin

Martin Blapp, <mb at imp.ch> <mbr at FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr at freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------



More information about the MIMEDefang mailing list