hg: jdk/sandbox: 8245487: Potential double-free of interfaces array

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Jun 5 11:16:38 UTC 2020


Changeset: 099b8e224b7f
Author:    coleenp
Date:      2020-06-05 06:54 -0400
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/099b8e224b7f

8245487: Potential double-free of interfaces array
Summary: free _local_interfaces when we free _transitive_interfaces since they can share memory.
Reviewed-by: fparain, lfoltan, iklam

! src/hotspot/share/classfile/classFileParser.cpp
! src/hotspot/share/classfile/classLoaderDataGraph.cpp
! src/hotspot/share/memory/universe.cpp
+ test/hotspot/jtreg/runtime/classFileParserBug/BadClassPackage.jasm
+ test/hotspot/jtreg/runtime/classFileParserBug/TestBadPackageWithInterface.java



More information about the jdk-sandbox-changes mailing list