On Thu, 26 Aug 1999, Gerhard Wohlgenannt wrote:
> hi!
>
> guess I have found a bug that makes majordomo crash on redhat 5.2 (with
> perl 5.004_04) systems.
>
> lines 177 and 178 of "majordomo"
> s/^\s*//g; # strip leading whitespace
> s/\s*$//g; # strip trailing whitespace
>
> cause (guess 0 whitespaces are substituted forever)
> "Substitution loop at /usr/lib/majordomo/majordomo line 177, <> chunk 1."
> error, which results in the known problem
> "Unknown mailer error 9".
>
> these lines have to be replaced with
> s/^\s+//g; # strip leading whitespace
> s/\s+$//g; # strip trailing whitespace
>
> the same problem is in majordomo.pl
> $clean_list =~ s/[^-_0-9a-zA-Z]*//g;
>
> should be replaced with
>
> $clean_list =~ s/[^-_0-9a-zA-Z]+//g;
>
> maybe upgrading perl fixes the problems - but we don't want to risk big
> trouble with a new perl version .. :)
>
> bye
> gerhard wohlgenannt
>
> -----------------------------------------------------------------------------
> Wohlgenannt Gerhard | wohlg@lux3.wu-wien.ac.at
> Abt. f. Angewandte Informatik | Tel: +31336 / 5212
> Wirtschaftsuniv. Wien | Fax: +31336 / 739
> -----------------------------------------------------------------------------
>
>
>
Follow-Ups:
|
|