Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8360664

Null pointer dereference in src/hotspot/share/prims/jvmtiTagMap.cpp in IterateOverHeapObjectClosure::do_object()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 21
    • hotspot
    • None

      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.

            asemenov Artem Semenov
            asemenov Artem Semenov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: