jdwp utf_util getWideString might leak memory

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 20
    • Affects Version/s: 17, 20
    • Component/s: core-svc
    • None
    • generic
    • windows

      There seems to be a case where utf_util.c getWideString might leak memory in an early return ; it misses a free but currently an abort() call is done anyway in UTF_ERROR so the free is not really needed.
      However in some cases we might consider not doing the about but using the already existing fallback "just_copy_bytes" .

            Assignee:
            Matthias Baesken
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: