RFR: JDK-8262466: linux libsaproc/DwarfParser.cpp delete DwarfParser object in early return
Kevin Walls
kevinw at openjdk.java.net
Tue Mar 2 16:15:40 UTC 2021
On Tue, 2 Mar 2021 12:34:35 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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
Marked as reviewed by kevinw (Committer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2793
More information about the serviceability-dev
mailing list