We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4214fb6 commit d79f9a1Copy full SHA for d79f9a1
java/com/google/turbine/zip/Zip.java
@@ -200,7 +200,7 @@ public ZipIterable(Path path) throws IOException {
200
if (totalEntries == ZIP64_MAGICCOUNT
201
|| cdsize == ZIP64_MAGICVAL
202
|| cdoffset == ZIP64_MAGICVAL) {
203
- // Assume the zip64 EOCD has the usual size; we don't support zip64 extensible data sectors.
+ // Check for a zip64 EOCD at a fixed offset, without a zip64 extensible data sector.
204
long zip64eocdOffset = size - ENDHDR - ZIP64_LOCHDR - ZIP64_ENDHDR;
205
// Note that zip reading is necessarily best-effort, since an archive could contain 0xFFFF
206
// entries and the last entry's data could contain a ZIP64_ENDSIG. Some implementations
0 commit comments