-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b80
-
solaris
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135873 | emb-9 | Aleksej Efimov | P4 | Resolved | Fixed | team |
By code review we identified a potential memory leak in TimeZone_md.c, function findJavaTZ_md(), in the case of solaris "localtime".
When getPlatformTimeZoneID() is called and its result is "localtime", the returned string buffer is not freed as the pointer "freetz" is overwritten after the call to getSolarisDefaultZoneID().
When getPlatformTimeZoneID() is called and its result is "localtime", the returned string buffer is not freed as the pointer "freetz" is overwritten after the call to getSolarisDefaultZoneID().
- backported by
-
JDK-8135873 [solaris] Potential memory leak in TimeZone_md.c, function findJavaTZ_md()
-
- Resolved
-
- duplicates
-
JDK-8133933 [solaris] Memory Leak in native part of java.util.TimeZone
-
- Closed
-