Released fix for taint errors
John Wilcock
john at tradoc.fr
Mon Jun 27 09:51:03 IST 2011
Le 27/06/2011 10:27, Julian Field a écrit :
> Replace line 1381 with these 4 lines:
> $tempid = $this->{id};
> $tempid =~ /^(.*)$/;
> $tempid = $1;
> chown $uid, $gid, "$spamdir/" . $tempid; # Harmless if this fails
>
> and then let me know if that gets rid of that one.
That gave me
Global symbol "$tempid" requires explicit package name at
/usr/lib/MailScanner/MailScanner/Message.pm line 1381.
(and on the following lines too of course).
Qualifying the first $tempid with a "my" did the trick. However the
error on IO::File remains.
> If you can possibly track down where the File.pm error comes from, it
> would be a great help. Unfortunately it's in the "open()" function,
> which opens a file. Something MailScanner does rather a lot of!
Any suggestions as to how I might go about that?
John.
--
-- Over 4000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages - www.tradoc.fr
More information about the MailScanner
mailing list