[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in Java.Util.Zip
From: |
Mike Krueger |
Subject: |
Bug in Java.Util.Zip |
Date: |
Fri, 14 Dec 2001 09:48:06 +0100 |
Hi
I've found a bug in Java.Util.Zip :
When you compress files with the zipstream with deflatefast
(compression level 1-3) sometimes an exception is throwed.
If I change in DeflaterHuffman the isFull method from :
return last_lit == BUFSIZE;
to
return last_lit + 16 >= BUFSIZE;
the bug seems to have gone away, but I'm not sure that is the
case for all cases.
cya
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in Java.Util.Zip,
Mike Krueger <=