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

linux libsaproc/DwarfParser.cpp delete DwarfParser object in early return

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • b13
    • generic
    • linux

    Description

      there is an early return in Java_sun_jvm_hotspot_debugger_linux_amd64_DwarfParser_createDwarfContext that misses to delete the non-parsable parser object.
      see also the Sonar finding :
      https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=cpp&open=AXck8Ca-BBG2CXpcnimn&resolved=false&severities=BLOCKER&types=BUG

      Attachments

        Issue Links

          Activity

            People

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: