RFR: JDK-8263557: Possible NULL dereference in Arena::destruct_contents()
Thomas Stuefe
stuefe at openjdk.java.net
Tue Mar 16 05:53:07 UTC 2021
On Mon, 15 Mar 2021 20:53:06 GMT, Coleen Phillimore <coleenp 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.
Thanks Coleen & Kim.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2994
More information about the hotspot-runtime-dev
mailing list