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

Tobias Hartmann thartmann at openjdk.org
Fri Dec 16 09:37:57 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.

Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list