Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reporter: Artem Semenov (savoptik@altlinux.org).
The defect has been detected and confirmed in the function IterateOverHeapObjectClosure::do_object() located in the file src/hotspot/share/prims/jvmtiTagMap.cpp with static code analysis. This defect can potentially lead to a null pointer dereference.
The pointer oop o is passed to the constructor of the CallbackWrapper class, where it is dereferenced without a null check.
Reporter: Artem Semenov (savoptik@altlinux.org).
The defect has been detected and confirmed in the function IterateOverHeapObjectClosure::do_object() located in the file src/hotspot/share/prims/jvmtiTagMap.cpp with static code analysis. This defect can potentially lead to a null pointer dereference.
The pointer oop o is passed to the constructor of the CallbackWrapper class, where it is dereferenced without a null check.
- links to
-
Review(master) openjdk/jdk/26002