[jdk11u-dev] RFR: 8347377: Add validation checks for ICC_Profile header fields
Jan Kratochvil
jkratochvil at openjdk.org
Fri Sep 5 18:28:50 UTC 2025
ICC_Profile header is validated too late leading later to unexpected exceptions.
A testcase is included.
It is not a clean backport - it has to change return switch expressions to their old format.
This backport is authored by Anton Voznia, I am only submitting it. Anton Voznia is an Azul employee so he should be covered by Azul OCA. Anton Voznia has not signed a personal OCA from Oracle.
It requires https://github.com/openjdk/jdk11u-dev/pull/3088 as a prerequisite.
-------------
Depends on: https://git.openjdk.org/jdk11u-dev/pull/3088
Commit messages:
- 8347377: Add validation checks for ICC_Profile header fields
Changes: https://git.openjdk.org/jdk11u-dev/pull/3089/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=3089&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8347377
Stats: 348 lines in 4 files changed: 336 ins; 2 del; 10 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/3089.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/3089/head:pull/3089
PR: https://git.openjdk.org/jdk11u-dev/pull/3089
More information about the jdk-updates-dev
mailing list