RFR: 8303866: Allow ZipInputStream.readEnd to parse small Zip64 ZIP files [v15]

Lance Andersen lancea at openjdk.org
Fri Jan 26 20:52:44 UTC 2024


On Fri, 26 Jan 2024 14:34:39 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

> To help make progress here, I have relaxed the validation such that we now check:
> 
> * That the "streaming mode" bit 3 flag is set
> * That at least one of the LOC's size fields are marked 0xFFFFFFFF.
> * That the LOC extra field has a field with header ID 0x1 (Zip64)
> 
> Any reading/validation of the contents of the Zip64 extra field has been removed.
> 
> @jaikiran Is this closer to what you'd like to see?

Have not forgotten this, hope to get to it next week

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

PR Comment: https://git.openjdk.org/jdk/pull/12524#issuecomment-1912678510


More information about the core-libs-dev mailing list