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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: 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().

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

                Created:
                Updated:
                Resolved: