Title: zip file may crash clamscan
Hello,


While trying the latest version from cvs (the anonymous access anyway), clamscan crashed with a segmentation fault.

clamscan readnow\ 8.zip
LibClamAV Error: zziplib: directory entry incorrect: 2a4a - search 2a4b...
Segmentation fault

This is unfortunate if running as a daemon which is the plan.

Running like:
clamscan --disable-archive --unzip readnow\ 8.zip
Archive:  /home/jnp/tmp/readnow 8.zip
warning [/home/jnp/tmp/readnow 8.zip]:  3 extra bytes at beginning or within zipfile
  (attempting to process anyway)
file #1:  bad zipfile offset (local header sig):  3
  (attempting to re-compensate)
 extracting: readnow.doc.scr       
/tmp/72e394906bb51623/readnow.doc.scr: Worm.Mimail.G FOUND
/home/jnp/tmp/readnow 8.zip: Infected Archive FOUND

----------- SCAN SUMMARY -----------
Known viruses: 19650
Scanned directories: 1
Scanned files: 1
Infected files: 1
Data scanned: 0.01 MB
I/O buffer size: 131072 bytes
Time: 0.306 sec (0 m 0 s)

gives the desired result.


I can mail the problematic file if needed. I seem to have received quite a few of them lately.


Regards,
-- 
/jørgen nørgaard
SmartTV A/S
[EMAIL PROTECTED]
Phone: +45 3332 5770
http://smarttv.dk/



Reply via email to