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

jdwp utf_util getWideString might leak memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 20
    • 17, 20
    • 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" .

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

              Created:
              Updated:
              Resolved: