[jdk25u] Integrated: 8360664: Null pointer dereference in src/hotspot/share/prims/jvmtiTagMap.cpp in IterateOverHeapObjectClosure::do_object()

Artem Semenov asemenov at openjdk.org
Tue Jul 22 12:43:30 UTC 2025


On Thu, 17 Jul 2025 10:44:01 GMT, Artem Semenov <asemenov at openjdk.org> wrote:

> Hi all,
> 
>     This pull request contains a backport of commit [e9a43416](https://github.com/openjdk/jdk/commit/e9a434165a6ec07cde0429c7f9823bbc5dab7857) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
> 
>     The commit being backported was authored by Artem Semenov on 7 Jul 2025 and was reviewed by Serguei Spitsyn, Alex Menkov and Chris Plummer.
> 
> This patch adds an assert that demonstrates that NULL cannot be passed to this function. This change will simplify code analysis during bug hunting and investigation.
> 
>     Thanks!

This pull request has now been integrated.

Changeset: 7145ba15
Author:    Artem Semenov <asemenov at openjdk.org>
URL:       https://git.openjdk.org/jdk25u/commit/7145ba15a931523cfb02396057c1456cba5cab3d
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 <savoptik at altlinux.org>.

Backport-of: e9a434165a6ec07cde0429c7f9823bbc5dab7857

-------------

PR: https://git.openjdk.org/jdk25u/pull/19


More information about the jdk-updates-dev mailing list