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

Alan Bateman alanb at openjdk.org
Sun Dec 17 09:27:43 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 alanb (Reviewer).

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

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


More information about the core-libs-dev mailing list