Hi, all,
So I found my way out of the twisty passasges. The following patch
appears to fix ClamAV 0.88 so it works properly on deflate64-compressed
ZIP files, if you have UNIX "unzip" installed.
YMMV. Use at your own risk.
Regards,
David.
diff -r -u clamav-0.88.PRISTINE/libclamav/scanners.c
clamav-0.88/libclamav/scanners.c
--- clamav-0.88.PRISTINE/libclamav/scanners.c 2006-01-05 10:24:08.000000000
-0500
+++ clamav-0.88/libclamav/scanners.c 2006-01-11 12:34:02.000000000 -0500
@@ -1457,8 +1457,12 @@
break;
case CL_TYPE_ZIP:
- if(SCAN_ARCHIVE)
- ret = cli_scanzip(desc, virname, scanned, root, limits,
options, arec, mrec);
+ if(SCAN_ARCHIVE) {
+ ret = cli_scanzip(desc, virname, scanned, root, limits,
options, arec, mrec);
+ if (ret == CL_EZIP) {
+ return ret;
+ }
+ }
break;
case CL_TYPE_GZ:
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang