[jdk18] Integrated: 8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276

Scott Gibbons duke at openjdk.java.net
Sun Dec 12 16:12:21 UTC 2021


On Fri, 10 Dec 2021 00:17:36 GMT, Scott Gibbons <duke at openjdk.java.net> wrote:

> 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.

This pull request has now been integrated.

Changeset: 9a1bbaf8
Author:    Scott Gibbons <scott.gibbons at intel.com>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk18/commit/9a1bbaf8db0e869ab76be8ab1bd0ddeb23693e7e
Stats:     12 lines in 2 files changed: 7 ins; 0 del; 5 mod

8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276
8272809: JFR thread sampler SI_KERNEL SEGV in metaspace::VirtualSpaceList::contains

Reviewed-by: sviswanathan, kvn

-------------

PR: https://git.openjdk.java.net/jdk18/pull/4


More information about the hotspot-compiler-dev mailing list