On Thu, 26 Jun 2025 13:24:31 GMT, Artem Semenov <aseme...@openjdk.org> wrote:
> 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. This pull request has now been integrated. Changeset: e9a43416 Author: Artem Semenov <aseme...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/e9a434165a6ec07cde0429c7f9823bbc5dab7857 Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod 8360664: Null pointer dereference in src/hotspot/share/prims/jvmtiTagMap.cpp in IterateOverHeapObjectClosure::do_object() Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Artem Semenov <savop...@altlinux.org>. Reviewed-by: sspitsyn, amenkov, cjplummer ------------- PR: https://git.openjdk.org/jdk/pull/26002