8347377: Add validation checks for ICC_Profile header fields#3089
8347377: Add validation checks for ICC_Profile header fields#3089jankratochvil wants to merge 3 commits intoopenjdk:masterfrom
Conversation
…ytes for the "head" tag Reviewed-by: azvegint
Reviewed-by: prr, jdv
|
👋 Welcome back jkratochvil! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
|
The CI failure of macos-x64 is a false positive: |
|
@jankratochvil This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout 8263622-8347377
git fetch https://git.openjdk.org/jdk11u-dev.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
@jankratochvil This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
Can we reopen this one and get it in? Thanks. |
|
/open |
|
@jankratochvil This pull request is now open |
|
The |
phohensee
left a comment
There was a problem hiding this comment.
Looks like you've imported part of JDK-8263051 in ICC_ColorSpace.java. If you're not going to import that, better to change the 2 lines in the original commit and leave the formatting alone.
Other than that, good.
|
@jankratochvil This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
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 #3088 as a prerequisite.
Progress
Warning
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3089/head:pull/3089$ git checkout pull/3089Update a local copy of the PR:
$ git checkout pull/3089$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3089/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3089View PR using the GUI difftool:
$ git pr show -t 3089Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3089.diff
Using Webrev
Link to Webrev Comment