[jdk18] RFR: 8272058: 25 Null pointer dereference defect groups in 4 files
Daniel D.Daugherty
dcubed at openjdk.java.net
Wed Dec 22 18:53:22 UTC 2021
On Wed, 22 Dec 2021 18:43:36 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:
> As long as parfait doesn't complain here - I didn't see where we checked for NULL
> explicitly in this case. I assume that parfait skips the ASSERT parts?
Parfait does not complain anymore. The key about this call is that we don't de-reference
the return value from `target_addr_for_insn_allow_null_ret`. So we allow nullptr to be
returned, but we don't use it.
-------------
PR: https://git.openjdk.java.net/jdk18/pull/51
More information about the hotspot-runtime-dev
mailing list