RFR: JDK-8263557: Possible NULL dereference in Arena::destruct_contents()
Coleen Phillimore
coleenp at openjdk.java.net
Mon Mar 15 20:56:10 UTC 2021
On Sun, 14 Mar 2021 06:07:00 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Sonarcloud reports a possible access to a NULL C++ object in Arena::destruct_contents():
>
> _first->chop();
>
> I have found no code path where this could happen but _first could conceivably be NULL after a call to Arena::reset(). Lets fix that.
>
> GA test error on windows seems unrelated.
Ok.
-------------
Marked as reviewed by coleenp (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/2994
More information about the hotspot-runtime-dev
mailing list