Causes :
|
GCC static analyzer (-fanalyzer) reports this issue : jdk/src/jdk.jdwp.agent/share/native/libjdwp/threadControl.c:2321:28: error: dereference of NULL 'node' [CWE-476] [-Werror=analyzer-null-dereference] 2321 | node->pendingInterrupt = JNI_TRUE; We call node = findRunningThread(thread); but unlike the other findRunningThread calls we do here a JDI_ASSERT and no result-check for node != NULL , maybe this should be adjusted.
|