[jdk8u-dev] RFR: 8347911: Limit the length of inflated text chunks

Timofei Pushkin tpushkin at openjdk.org
Mon Sep 1 07:50:10 UTC 2025


Backport of [JDK-8347911](https://bugs.openjdk.org/browse/JDK-8347911) for parity with Oracle's JDK 8u461.

Conflicts:
- Copyright years
- Missing JDK-8139206: use `IOUtils.readNBytes(...)` instead of the missing `InputStream.readNBytes(...)`

Testing: GitHub CI, jdk_imageio test group locally (headless linux/arm64)

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

Depends on: https://git.openjdk.org/jdk8u-dev/pull/686

Commit messages:
 - 8347911: Limit the length of inflated text chunks

Changes: https://git.openjdk.org/jdk8u-dev/pull/687/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=687&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347911
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/687.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/687/head:pull/687

PR: https://git.openjdk.org/jdk8u-dev/pull/687


More information about the jdk8u-dev mailing list