>As far as I can figure out, from running clamscan on a
>large number of zip-files, archives which use the
>"deflated" type of compression work ok. Archives with
>compression types of "shrunk" or "imploded" will fail.
Looking at the sources I can see that the only compression
methods supported are "store" and "inflate".
By modifying "zzip_file_open()" in zzip-file.c so that
it includes more compression methods, the problem has
disappeared.
Where it said:
case 0: /* store */
case 8: /* inflate */
break;
I added two lines:
case 0: /* store */
case 1: /* shrink */
case 6: /* implode */
case 8: /* inflate */
break;
I've not studied the source any further, so I have no
idea if this might cause other and unforeseen problems?
Anders
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users