git: openjdk/jdk8u-dev: 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream

Yuri Nesterenko yan at openjdk.java.net
Fri Apr 8 06:59:35 UTC 2022


Changeset: 3647d987
Author:    Alexey Pavlyutkin <apavlyutkin at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
Date:      2022-04-08 06:57:33 +0000
URL:       https://git.openjdk.java.net/jdk8u-dev/commit/3647d987abad91eceef72900c71f8f4f55c8e92f

8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream

Reviewed-by: phh, andrew
Backport-of: 8a9cda2d84513ab49a54e1d2a7b530f0bae05c61

! jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
+ jdk/test/demo/zipfs/LargeCompressedEntrySizeTest.java
+ jdk/test/demo/zipfs/ZipFSOutputStreamTest.java



More information about the jdk8u-dev-changes mailing list