Integrated: 8282306: os::is_first_C_frame(frame*) crashes on invalid link access
Johannes Bechberger
duke at openjdk.java.net
Mon Mar 21 15:53:40 UTC 2022
On Wed, 23 Feb 2022 14:59:49 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:
> This PR introduces a new method `can_access_link` into the frame class to check the accessibility of the link information. It furthermore adds a new `os::is_first_C_frame(frame*, Thread*)` that uses the `can_access_link` method
> and the passed thread object to check the validity of frame pointer, stack pointer, sender frame pointer and sender stack pointer. This should reduce the possibilities for crashes.
This pull request has now been integrated.
Changeset: 999da9bf
Author: Johannes Bechberger <johannes.bechberger at sap.com>
Committer: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/999da9bfc5be703141cdc07af455b4b6b2cc1aae
Stats: 80 lines in 11 files changed: 60 ins; 14 del; 6 mod
8282306: os::is_first_C_frame(frame*) crashes on invalid link access
Reviewed-by: stuefe, mdoerr
-------------
PR: https://git.openjdk.java.net/jdk/pull/7591
More information about the hotspot-dev
mailing list