[jdk17u] 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 15:16:33 UTC 2021


On Mon, 18 Oct 2021 09:34:59 GMT, Alexey Pavlyutkin <duke at openjdk.java.net> wrote:

> I'd like to backport JDK-8190753
> The original patch applied cleanly
> Tested with accompanying
> 
> - ./test/jdk/jdk/nio/zipfs/LargeCompressedEntrySizeTest.java
> - ./test/jdk/jdk/nio/zipfs/ZipFSOutputStreamTest.java

This pull request has now been integrated.

Changeset: ccfe697f
Author:    Alexey Pavlyutkin <apavlyutkin at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u/commit/ccfe697f2330cd385e6b9842412fc6cc86494ed8
Stats:     356 lines in 3 files changed: 350 ins; 0 del; 6 mod

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

Backport-of: c3d8e9228d0558a2ce3e093c105c61ea7af2e1d1

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

PR: https://git.openjdk.java.net/jdk17u/pull/201


More information about the jdk-updates-dev mailing list