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: jeroen at frijters dot net
Subject: [Bug classpath/36560] java.util.zip: Error parsing zip file with larger files in it
Date: 19 Jun 2008 07:01:18 -0000


------- Comment #2 from jeroen at frijters dot net  2008-06-19 07:01 -------
It appears that the code != 65536 check in InflaterHuffmanTree.buildTree() is
unnecessary (and causing this problem). I looked at the SharpZipLib version of
this file (which is a port of this code to .NET) and they commented out the
check (with a comment saying it is incompatible with dynamic trees and pkzip
2.04g).

I've confirmed that removing the check fixes this bug and produces the correct
output.


-- 


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





reply via email to

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