Integrated: 8297801: printnm crashes with invalid address due to null pointer dereference

Damon Fenacci duke at openjdk.org
Mon Dec 19 15:47:53 UTC 2022


On Thu, 15 Dec 2022 16:10:07 GMT, Damon Fenacci <duke at openjdk.org> wrote:

> `printnm` crashes if you pass an invalid address. This is caused by a null pointer dereference.
> Checking for NULL reference before checking if blob is a method.

This pull request has now been integrated.

Changeset: de0ce792
Author:    Damon Fenacci <damon.fenacci at oracle.com>
Committer: Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/de0ce792c1865f80b6bcfce6741681cb74d75cef
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8297801: printnm crashes with invalid address due to null pointer dereference

Reviewed-by: thartmann, chagedorn, kvn

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

PR: https://git.openjdk.org/jdk/pull/11697


More information about the hotspot-compiler-dev mailing list