HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

SCANERROR ClamAV: Unable to allocate memory
http://havp.hege.li/forum/viewtopic.php?f=3&t=165
Page 1 of 1

Author:  agruener [ 19 Sep 2006 12:02 ]
Post subject:  SCANERROR ClamAV: Unable to allocate memory

Hello :-)

Somehow this Link does not work...from access.log of havp:

19/09/2006 10:47:36 127.0.0.1 GET 200 http://www.itedo.com/secMacD/iso6201_upd_d.sea.hqx 333+3163192 SCANERROR ClamAV: Unable to allocate memory

Squid log shows:
1158650204.918 3874 IP TCP_MISS/403 1413 GET http://www.itedo.com/secMacD/iso6201_upd_d.sea.hqx - DEFAULT_PARENT/127.0.0.1 text/html

I am running
clamav-0.88.4-0.1
havp 0.82
Linux 2.6.8-24.24-smp

Eicar & other viruses are detected correctly.

Any ideas ?

Regards,
Alexander

Author:  hege [ 19 Sep 2006 14:52 ]
Post subject: 

Unfortunately that is a small flaw/bug in ClamAV.. it can't mmap the tempfile because it is locked. And for hqx (binhex) files it fails.

You need to either whitelist hqx files or compile ClamAV yourself (add "#undef HAVE_MMAP" as first line of binhex.c).

Cheers,
Henrik

Author:  hege [ 19 Sep 2006 14:55 ]
Post subject: 

PS. I will add workarounds for this to next HAVP version.

Author:  agruener [ 19 Sep 2006 15:31 ]
Post subject: 

Hi Henrik :-)

Thanks for your support and info !

Regards,
Alexander

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/