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

Jan Kratochvil jkratochvil at openjdk.org
Fri Sep 5 15:16:45 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/jdk17u-dev/pull/3886/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3886&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/jdk17u-dev/pull/3886.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3886/head:pull/3886

PR: https://git.openjdk.org/jdk17u-dev/pull/3886


More information about the jdk-updates-dev mailing list