[jdk8u-dev] RFR: 8343334: JFR crash in JfrEmergencyDump::build_dump_path

Paul Hohensee phh at openjdk.org
Tue Nov 5 23:54:33 UTC 2024


On Thu, 31 Oct 2024 03:21:26 GMT, lingjun-cg <duke at openjdk.org> wrote:

> Expect a string value but actually pass an integer value to `jio_snprintf` which could lead to undefined behavior.
> The minor result is the error JFR file path, the major result is JVM crash.

Can't you just backport [JDK-8261020](https://bugs.openjdk.org/browse/JDK-8261020)?

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

PR Review: https://git.openjdk.org/jdk8u-dev/pull/599#pullrequestreview-2417002113


More information about the jdk8u-dev mailing list