-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
None
-
None
A couples bits of native core-libs string handling code should be changed:
src/java.base/windows/native/libjava/java_props_md.c:
- In getEncodingInternal(), a non-terminated string could result if the GetLocaleInfo() call were to fail.
src/java.base/windows/native/libjava/jni_util_md.c:
- getParent() (which calls strcpy()) is unused, and can be removed
src/java.base/windows/native/libjava/java_props_md.c:
- In getEncodingInternal(), a non-terminated string could result if the GetLocaleInfo() call were to fail.
src/java.base/windows/native/libjava/jni_util_md.c:
- getParent() (which calls strcpy()) is unused, and can be removed
- duplicates
-
JDK-8244767 Potential non-terminated string in getEncodingInternal() on Windows
-
- Closed
-
-
JDK-8244855 Remove unused "getParent" function from Windows jni_util_md.c
-
- Closed
-