[jdk13u-dev] Integrated: 8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
Alexey Pavlyutkin
duke at openjdk.java.net
Tue Oct 26 11:48:21 UTC 2021
On Wed, 20 Oct 2021 06:03:17 GMT, Alexey Pavlyutkin <duke at openjdk.java.net> wrote:
> I'd like to backport JDK-8190753 to jdk13u for parity with jdk15u.
>
> The original patch applied with minor changes:
>
> - eliminated using of unsupported instanceof pattern matching feature
>
> Functionality was tested with accompanying
>
> - ./test/jdk/jdk/nio/zipfs/LargeCompressedEntrySizeTest.java
> - ./test/jdk/jdk/nio/zipfs/ZipFSOutputStreamTest.java
>
> Regression: jdk_tier2
This pull request has now been integrated.
Changeset: 9cd4e475
Author: Alexey Pavlyutkin <apavlyutkin at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL: https://git.openjdk.java.net/jdk13u-dev/commit/9cd4e47574a85333c2cd13f8bfb2fc030a01fe02
Stats: 362 lines in 3 files changed: 356 ins; 0 del; 6 mod
8190753: (zipfs): Accessing a large entry (> 2^31 bytes) leads to a negative initial size for ByteArrayOutputStream
Reviewed-by: yan
Backport-of: c3d8e9228d0558a2ce3e093c105c61ea7af2e1d1
-------------
PR: https://git.openjdk.java.net/jdk13u-dev/pull/275
More information about the jdk-updates-dev
mailing list