[jdk17u-dev] RFR: 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles [v3]
Jan Kratochvil
jkratochvil at openjdk.org
Fri Oct 3 14:55:37 UTC 2025
> Built-in singleton ICC_Profiles could be modified using setData(). Throw an exception for such an attempt.
> A testcase is included.
> It is a clean backport.
> 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/jdk17u-dev/pull/3886 as a prerequisite.
Jan Kratochvil has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Merge branch 'devmaster' into 8347377-8346465
- 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles
Reviewed-by: aivanov, jdv, prr, serb
- 8347377: Add validation checks for ICC_Profile header fields
Reviewed-by: prr, jdv
-------------
Changes:
- all: https://git.openjdk.org/jdk17u-dev/pull/3887/files
- new: https://git.openjdk.org/jdk17u-dev/pull/3887/files/4b88192e..e77db6ff
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3887&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=3887&range=01-02
Stats: 14966 lines in 342 files changed: 12056 ins; 2093 del; 817 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/3887.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/3887/head:pull/3887
PR: https://git.openjdk.org/jdk17u-dev/pull/3887
More information about the jdk-updates-dev
mailing list