JDK-8230856 : Java_java_net_NetworkInterface_getByName0 on unix misses ReleaseStringUTFChars in early return
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 11,13,14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-09-11
  • Updated: 2022-06-27
  • Resolved: 2019-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 13 JDK 14 JDK 8 Other
11.0.6Fixed 13.0.4Fixed 14 b15Fixed 8u251Fixed openjdk8u262Fixed
Description
Java_java_net_NetworkInterface_getByName0 on unix  misses  a call to ReleaseStringUTFChars in an early return case.
Comments
Fix request (13u): Need to patch that in 13u as well. The patch applies cleanly.
15-05-2020

8u262 is fine. Done.
10-03-2020

Right, but I don't see any case for making this a critical fix for 8u252. Please target 8u262.
10-03-2020

Fix Request (OpenJDK 8u): This one-liner has been backported to Oracle JDK 8u251. We should backport this to OpenJDK 8u for parity. The patch applies clean (after unshuffeling) and should be low risk. Cleanup of resources in an error case.
10-03-2020

Fix request (11u) This issue occurs in JDK11 as well, so I'd like to backport the fix. The patch applies cleanly.
25-09-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/ea93d6a9f720 User: mbaesken Date: 2019-09-12 07:19:07 +0000
12-09-2019