RFR: 8313765: Invalid CEN header (invalid zip64 extra data field size) [v3]

Sergey Bylokhov serb at openjdk.org
Mon Aug 14 21:16:07 UTC 2023


On Mon, 14 Aug 2023 20:28:08 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> > net/n3/nanoxml/CDATAReader.class bad extra-field entry:
> > EF block length (61373 bytes) exceeds remaining EF data (4 bytes)
> > test of bad.jar FAILED
> > zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
> 
> zipdetails would also fail with the above jar

It seems that error " EF block length (30837 bytes) exceeds remaining EF data" caused by the fact the size was too big for the actual zipfile, which I think is a different issue, but you can try to unzip that file, and you will get a result w/o errors. unzip implementation is linked above.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/15273#issuecomment-1678071099


More information about the nio-dev mailing list