ClamAV and MailScanner Bug

Rick Cooper rcooper at DWFORD.COM
Thu May 5 20:29:00 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Julian Field
> Sent: Thursday, May 05, 2005 1:12 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: ClamAV and MailScanner Bug
>
>
[...]

> Fortunately it is a lot easier than that, due to the helpful info about
> the Cwd module. This is a standard supplied module and even the version
> that came with Perl 5.00503 has the necessary function in it.
>
> Apply this patch to WorkArea.pm and it should do the trick nicely. If
> there are links in the dir, then it complains politely about it but
> works properly anyway.
>

I was thinking about your question regarding reliably. I don't honestly know
what OSs MS is ported to and the cwd documentation I had states
(http://perlpod.com/5.9.1/lib/Cwd.html):

NOTES

    * Since the path seperators are different on some operating systems ('/'
on Unix, ':' on MacPerl, etc...) we recommend you use the File::Spec modules
wherever portability is a concern.
    * Actually, on Mac OS, the getcwd(), fastgetcwd() and fastcwd()
functions are all aliases for the cwd() function, which, on Mac OS, calls
`pwd`. Likewise, the abs_path() function is an alias for fast_abs_path().

But if it's all *nix I would suppose the separator issue wouldn't be a
factor.

Rick


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ 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 Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list