Integrated: 8314891: Additional Zip64 extra header validation

Lance Andersen lancea at openjdk.org
Tue Nov 7 16:55:41 UTC 2023


On Sat, 9 Sep 2023 14:33:53 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> Please review this PR which improves the Zip64 extra header validation:
> 
> - Throw a ZipException If the extra len field is 0 and :
> -- size, csize, or loc offset are set to 0xFFFFFFFF
> -- disk starting number is set to 0xFFFF
> 
> - We have a valid size for the Zip64 extra header but we are missing the csize or loc fields if they are expected to be part of the header
> 
> Mach5 tiers 1-3 are clean

This pull request has now been integrated.

Changeset: 82747132
Author:    Lance Andersen <lancea at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/82747132b07e288c1e6c2ba3392748c7718e994a
Stats:     1122 lines in 3 files changed: 1037 ins; 51 del; 34 mod

8314891: Additional Zip64 extra header validation

Reviewed-by: coffeys

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

PR: https://git.openjdk.org/jdk/pull/15650


More information about the nio-dev mailing list