On Wed, Jul 17, 2002 at 12:10:20PM +0100, Anders Gjerløv wrote:
> Status: RO
> 
> . Clear:SA:0(1.1/5.0):. Processed in 1.212625 secs); 16 Jul 2002
> 21:40:56 -0000
> X-Spam-Status: No, hits=1.1 required=5.0

Some of the version number checks aren't as robust as they should be. I
don't personally write all the supported virus scanners, so some appear to
end up with line breaks in them.

To fix this, Q-S 1.13 will have the following - add/replace  this to your
system now should tie you over:

sub scanner_info {
  open(SC,"<$versionfile")||&tempfail("cannot open $versionfile - did you initialise 
the system by running \"$prog -z\"? - $!");
  $SCANINFO = <SC>;
  $SCANINFO =~ s/\n|\r|\0/ /g;
  close(SC);
}

You can see that I simply strip out any odd chars now - sorta fixes the
problem :-)

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to