New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276 #6786
Conversation
|
/solves 8275427 |
/label hotspot |
@asgibbons |
@asgibbons |
/label hotspot-compiler |
@asgibbons |
/solves JDK-8275427 |
@asgibbons |
/solves 8272809 |
@asgibbons |
@asgibbons The change looks good to me. Could you please create this PR versus JDK 18 (https://github.com/openjdk/jdk18). |
Yes, new PR have to be filed based on jdk18 repo pointed by Sandhya because we need to fix it in JDK 18. After integration the fix will be automatically pushed into JDK 19 (current repo). |
I just created a PR (openjdk/jdk18#4) on the jdk-18 branch. Thanks for the heads-up, |
/integrate |
@asgibbons This pull request has not yet been marked as ready for integration. |
As Vladimir mentioned, the fix will be forward ported to JDK 19 automatically. This PR should be closed without integration. |
Thank you, @TobiHartmann. Closing this PR now. |
The base64 decoder overwrites memory past the end of its output buffer in certain cases. It will not overwrite if the encoded string length is < 64 bytes. It also will not overwrite if the encoded string length mod 64 is >= 16. So the case where it will overwrite is when the input string length (the encoded byte length) mod 64 is less than 16.
I also added a test case to detect this overrun.
Progress
Issues
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/6786/head:pull/6786
$ git checkout pull/6786
Update a local copy of the PR:
$ git checkout pull/6786
$ git pull https://git.openjdk.java.net/jdk pull/6786/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 6786
View PR using the GUI difftool:
$ git pr show -t 6786
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/6786.diff