hg: jdk/jdk: 8245487: Potential double-free of interfaces array
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Fri Jun 5 10:55:45 UTC 2020
Changeset: 099b8e224b7f
Author: coleenp
Date: 2020-06-05 06:54 -0400
URL: https://hg.openjdk.java.net/jdk/jdk/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-changes
mailing list