> >Well, the calculations are bad...
> >
> >
> >
> That's all? :)

Maxim,

The calculations from unzip are 'correct' insofar as the percentage in your
output represents:

(unzipped size - zipped size)/(unzipped size) * 100

so:

874796  Defl:N   151104  83%  04-09-04 13:53  f9d40334  file_name

= (874796 - 151104)/874796 * 100 = 82.7 %

 This isn't a ratio of unzipped size to zipped size. It's more a roundabout
way of saying the zipped file represents 17 % of the size of the unzipped
file.

Common sense suggests that the ratio should be the number of times the size
of the zipped file divides into the unzipped file and this is what clamav
looks for:

I don't  see any entry in your unzip output that beats a ratio of 300
though.




______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to