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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 26
    • 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 IterateThroughHeapObjectClosure::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 obj is passed to the constructor of the CallbackWrapper class, where it is dereferenced.

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

              Created:
              Updated:
              Resolved: