[jdk21u-dev] RFR: 8347377: Add validation checks for ICC_Profile header fields

Jan Kratochvil jkratochvil at openjdk.org
Fri Sep 5 15:14:42 UTC 2025


ICC_Profile header is validated too late leading later to unexpected exceptions.
A testcase is included.
It is a clean backport (except for copyright years).
This backport is authored by Anton Voznia, I am only submitting it.

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

Commit messages:
 - 8347377: Add validation checks for ICC_Profile header fields

Changes: https://git.openjdk.org/jdk21u-dev/pull/2154/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2154&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347377
  Stats: 328 lines in 4 files changed: 325 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2154.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2154/head:pull/2154

PR: https://git.openjdk.org/jdk21u-dev/pull/2154


More information about the jdk-updates-dev mailing list