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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 26
    • Affects Version/s: 21
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: