On Thu, 18 Aug 2022 11:51:52 GMT, Matthias Baesken <[email protected]> wrote:
> There seems to be a case where utf_util.c getWideString might leak memory in
> an early return.
src/jdk.jdwp.agent/share/native/libjdwp/utf_util.c line 346:
> 344: if (MultiByteToWideChar(codePage, 0, str, len, wstr, wlen) == 0) {
> 345: UTF_ERROR(("Can't get WIDE string"));
> 346: free(wstr);
Is this really an issue? I thought that UTF_ERROR prints the error and aborts
the program.
-------------
PR: https://git.openjdk.org/jdk/pull/9918