RFR: 8321802: (zipfs) Add validation of incorrect LOC signature in ZipFileSystem [v2]

Lance Andersen lancea at openjdk.org
Tue Dec 12 12:07:16 UTC 2023


On Tue, 12 Dec 2023 11:59:36 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

>> Please review this PR which adds validation of incorrect LOC signatures in `ZipFileSystem`.
>> 
>> `ZipFile` already rejects the case where the  offset pointed to from the CEN header does not start with the expected LOC signature. It makes sense to add this check to `ZipFileSystem` as well.
>
> Eirik Bjorsnos has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use uppercase LOC in ZipException messages

Marked as reviewed by lancea (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/17059#pullrequestreview-1777315017


More information about the core-libs-dev mailing list