You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to open a zip file created with java's zip api and zip64 format leads to an exception.
This is because java zip api only writes entries in zip64 headers whose values are greater than max int value, and does not fill all the fields of the zip64 headers. For example, if the offsetLocalFileHeader is greater than max int value, but the file sizes are less than max int value, java zip api only write offsetLocalFileHeader in the zip64 headers. zip4j header reading has to be adjusted accordingly.
The text was updated successfully, but these errors were encountered:
srikanth-lingala
changed the title
Could not read zip files created with jdk's zip api greater than 4gb
Cannot read zip files created with jdk's zip api greater than max int value
Oct 4, 2019
srikanth-lingala
changed the title
Cannot read zip files created with jdk's zip api greater than max int value
Cannot read zip files created with jdk's zip api with total size greater than max int value
Oct 4, 2019
srikanth-lingala
changed the title
Cannot read zip files created with jdk's zip api with total size greater than max int value
Cannot read zip files created with java zip api with total size greater than max int value
Oct 4, 2019
Trying to open a zip file created with java's zip api and zip64 format leads to an exception.
This is because java zip api only writes entries in zip64 headers whose values are greater than max int value, and does not fill all the fields of the zip64 headers. For example, if the offsetLocalFileHeader is greater than max int value, but the file sizes are less than max int value, java zip api only write offsetLocalFileHeader in the zip64 headers. zip4j header reading has to be adjusted accordingly.
The text was updated successfully, but these errors were encountered: