Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8133830

[solaris] Potential memory leak in TimeZone_md.c, function findJavaTZ_md()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b80
    • solaris

        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().

              asiebenborn Axel Siebenborn
              asiebenborn Axel Siebenborn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: