Integrated: 8316141: Improve CEN header validation checking
Lance Andersen
lancea at openjdk.org
Fri Dec 8 16:40:27 UTC 2023
On Wed, 8 Nov 2023 19:59:34 GMT, Lance Andersen <lancea at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 0eb299af
Author: Lance Andersen <lancea at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0eb299af792f95d66797e2274c359190bfd5560c
Stats: 335 lines in 4 files changed: 322 ins; 4 del; 9 mod
8316141: Improve CEN header validation checking
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/16570
More information about the core-libs-dev
mailing list