RFR: 8316141: Improve CEN header validation checking
Lance Andersen
lancea at openjdk.org
Wed Nov 8 20:06:37 UTC 2023
Please review this PR which enhances the existing CEN header validation checking to ensure that the
size of the CEN Header + name length + comment length + extra length do not exceed 65,535 bytes per the PKWare APP.NOTE 4.4.10, 4.4.11, & 4.4.12. Also check that current CEN header will not exceed the length of the CEN array.
Mach 5 tiers 1-3 are clean with this change.
-------------
Commit messages:
- Initial changes for JDK-8316141
Changes: https://git.openjdk.org/jdk/pull/16570/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16570&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316141
Stats: 335 lines in 4 files changed: 322 ins; 4 del; 9 mod
Patch: https://git.openjdk.org/jdk/pull/16570.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16570/head:pull/16570
PR: https://git.openjdk.org/jdk/pull/16570
More information about the core-libs-dev
mailing list