I've released an update to the sanitizer, including Paul's
fix from below. Other than that, there are no changes from
revision 1.65.
Get it at the usual place: http://mailtools.anomy.net/
:-)
Happy New Year!
On 2004-01-06, 13:33:41 (-0600), Paul M. Hirsch wrote:
> I have had a few messages come in recently that caused
> Sanitizer processes to eat memory until they hit their
> size limit, then die. The common thread was that they
> all had a line that started with "Begin 2004 " (like
> "Begin 2004 with a big kick to the head!")
>
> The line in Sanitizer.pm that escapes lines that look like
> UUencoding preambles that aren't was case sensitive:
>
> $pre =~ s/begin /begin_/;
>
> So, it worked on begin <number> only. Toss on a /i
> and the hang/infinite bloat goes away.
>
> ================
> --- Sanitizer.pm.orig Wed Dec 17 06:50:02 2003
> +++ Sanitizer.pm Tue Jan 6 12:25:10 2004
> @@ -2156,7 +2156,7 @@
> else
> {
> # Not really a uuencoded line, escape it.
> - $pre =~ s/begin /begin_/;
> + $pre =~ s/begin /begin_/i;
> $reader->UnRead($pre);
>
> $part->{"log"}->entry("uu_begin_bug", SLOG_WARNING|SLOG_INFO,
> ================
>
> -Paul
>
> --
> // Paul M. Hirsch //
> // paul at voltagenoir.org //
> // PGPkeyID 0x15DD8FA5 //
-- Bjarni Rúnar Einarsson 107500@xyz.molar.is http://bre.klaki.net/PGP: 02764305, B7A3AB89