Integrated: JDK-8262466: linux libsaproc/DwarfParser.cpp delete DwarfParser object in early return
Matthias Baesken
mbaesken at openjdk.java.net
Wed Mar 3 07:44:52 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
This pull request has now been integrated.
Changeset: 0265ab63
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0265ab63
Stats: 5 lines in 1 file changed: 1 ins; 2 del; 2 mod
8262466: linux libsaproc/DwarfParser.cpp delete DwarfParser object in early return
Reviewed-by: ysuenaga, kevinw
-------------
PR: https://git.openjdk.java.net/jdk/pull/2793
More information about the serviceability-dev
mailing list