RFR: 8273108: RunThese24H crashes with SEGV in markWord::displaced_mark_helper() after JDK-8268276

Tobias Hartmann thartmann at openjdk.java.net
Mon Dec 13 10:20:15 UTC 2021


On Thu, 9 Dec 2021 22:43:28 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.

As Vladimir mentioned, the fix will be forward ported to JDK 19 automatically. This PR should be closed without integration.

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

PR: https://git.openjdk.java.net/jdk/pull/6786


More information about the hotspot-compiler-dev mailing list