RFR: 8341625: Improve ZipFile validation of the END header [v2]

Eirik Bjørsnøs eirbjo at openjdk.org
Mon Oct 7 19:54:15 UTC 2024


On Mon, 7 Oct 2024 18:51:52 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> It might be beneficial to future readers to provide the steps used to create the hex string in the format you have provided.

The test vector was crafted using a ZIP test library not available in OpenJDK.

I have replaced that with a test vector which is easily reproduced using InfoZIP. Take a look at the updated test.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21384#discussion_r1790790630


More information about the core-libs-dev mailing list