RFR: 8297801: printnm crashes with invalid address due to null pointer dereference [v2]
Christian Hagedorn
chagedorn at openjdk.org
Mon Dec 19 10:03:51 UTC 2022
On Mon, 19 Dec 2022 08:36:57 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.
>
> Damon Fenacci has updated the pull request incrementally with one additional commit since the last revision:
>
> JDK-8297801: print message when address invalid
Thanks for adding the message, looks good!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11697
More information about the hotspot-compiler-dev
mailing list