bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/36560] java.util.zip: Error parsing zip file with larger


From: daniel at nuix dot com
Subject: [Bug classpath/36560] java.util.zip: Error parsing zip file with larger files in it
Date: 30 Jun 2008 04:31:51 -0000


------- Comment #7 from daniel at nuix dot com  2008-06-30 04:31 -------
It seems the problems are caused by the fact that the entry is encrypted yet
Classpath's implementation ignores this and attempts to decompress it anyway.

It seems there is a 2-byte "general purpose flags" value stored before the
compression method, and if bit 0 is set the entry is encrypted.  This could
potentially be used to make getInputStream fail earlier to avoid that issue, in
which case the existing patch for the large file itself can remain without
causing a problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36560





reply via email to

[Prev in Thread] Current Thread [Next in Thread]