Hi Ovidiu,

On Fri, Aug 27, 2004 at 11:50:16AM +0200, Tomasz Papszun wrote:
> On Thu, 26 Aug 2004 at 20:22:34 +0300, Ovidiu Bivolaru wrote:
> > 
> >  I'm using ClamAV 0.75.1 and I encounter one of the Oversized.zip 
> > issues. I've read a few threads about this issue and I've learned that 
> > maxcompressionratio could be 200 ~ 99.5% compression.
> >  I have a zip file which reports a compression ratio of 466. Is this 
> > possible ?
> > [...]
> 
> Of course. It depends just on the kind of compressed data.

just try: (need: dd, zip, zipinfo, bc, ls, /dev/zero :)

dd if=/dev/zero of=data bs=1k count=200
zip data.zip data

zipinfo data.zip
Archive:  data.zip   355 bytes   1 file
-rw-r--r--  2.3 unx   204800 bx defN 27-Aug-04 13:25 data
1 file, 204800 bytes uncompressed, 215 bytes compressed:  99.9%

ls -l data*
... 204800 27. Aug 13:25 data
...... 355 27. Aug 13:25 data.zip

echo "204800/215; 204800/355" | bc

So such archives are possible. _BUT_ I wouldn't try to feed my
virus scanner with something like that :)

Greetings Daniel
-- 
Join the Navy; sail to far-off exotic lands, meet exciting interesting people,
and kill them.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to