RFR: 8321802: (zipfs) Add validation of incorrect LOC signature in ZipFileSystem
Alan Bateman
alanb at openjdk.org
Tue Dec 12 09:52:45 UTC 2023
On Mon, 11 Dec 2023 15:38:28 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.
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/17059#pullrequestreview-1776849857
More information about the core-libs-dev
mailing list