antivir-autoupdate broken ? (bug found - Solved)

Diaz Rodriguez, Eduardo ediaz at PK25.COM
Tue Oct 19 12:30:41 IST 2004


Correct, the mod can be this:

change this
-----SNIP-----
 BailOut("Installation dir \"$PackageDir\" does not exist!")
    unless $PackageDir ne "" && -d $PackageDir;
 
 if (-x $AntiVirUpdateCommand) {
-----SNIP-----
===================================
for this:
-----SNIP-----
 BailOut("Installation dir \"$PackageDir\" does not exist!")
    unless $PackageDir ne "" && -d $PackageDir;
$AntiVirCommand = "$PackageDir/antivir";
 if (-x $AntiVirCommand) {
-----SNIP-----
for example.

this command:
$PackageDir/antivir --update

never can be exec... becasue the exec command are this: $PackageDir/antivir

regards

On Tue, 19 Oct 2004 09:53:58 +0100, Julian Field wrote
> The file is indeed 1568 bytes long, and the MD5 sum matches. It 
> contains this:
> 
> -----SNIP-----
> eval { Sys::Syslog::setlogsock('unix'); }; # This may fail!
> Sys::Syslog::openlog("AntiVir-autoupdate", 'pid, nowait', 'mail');
> 
> BailOut("Installation dir \"$PackageDir\" does not exist!")
>    unless $PackageDir ne "" && -d $PackageDir;
> 
> if (-x $AntiVirUpdateCommand) {
>    # Timeout prevention
>    $SIG{ALRM} = sub { die "timeout"};
> -----SNIP-----
> 
> At 09:45 19/10/2004, you wrote:
> >Sure??, I download yesterday the copy of mailscanner from mailscanner.info.
> >
> >my version is: MailScanner-4.34.8
> >
>
>http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/tar/MailScanner-install-4.34.8-4.tar.gz
> >
> >And this file are bad:
> >
> >d3c86afc594aff892e89720f21d593b0  antivir-autoupdate
> >
> >-rwxr-xr-x    1 root     root         1568 2004-09-29 21:12 antivir-autoupdate
> >
> >regards!
> 
> -- 
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
> Buy the MailScanner book at www.MailScanner.info/store
> 
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


=======================================================================================
No basta adquirir la sabiduría, es preciso usarla.
                -- Marco Tulio Cicerón. (106-43 A.C.) Escritor, orador y
                político romano. 
=======================================================================================

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list