Found a small bug in MailScanner.pm

Holger Gebhard holger at gebhardweb.de
Thu Sep 21 23:00:55 IST 2006


Hi Julian,

i found a small bug in MailScanner.pm (sub HandleSpamBounce)...
With the current code no Spambounce can be send... Results in a malformed 
message ;-)

Current:

# Boring untainting again...
/(.*)/;
$emailmsg .= MailScanner::Config::DoPercentVars($line) . "\n";
$line = eval "\"$1\"";

Must be:

# Boring untainting again...
/(.*)/;
$line = eval "\"$1\"";
$emailmsg .= MailScanner::Config::DoPercentVars($line) . "\n";


Regards

Holger



More information about the MailScanner mailing list