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

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

    XMLWordPrintable

Details

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

    Backports

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: