RFR: JDK-8292595: jdwp utf_util getWideString might leak memory [v2]

Matthias Baesken mbaesken at openjdk.org
Mon Aug 29 07:15:58 UTC 2022


On Fri, 26 Aug 2022 12:04:57 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> There seems to be a case where utf_util.c getWideString might leak memory in an early return.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Introduce UTF_WARNING and use the fallback

Hi, if it is still considered better to always abort in the MultiByteToWideChar failure cases and not use the fallback code, that's fine with me too.

-------------

PR: https://git.openjdk.org/jdk/pull/9918


More information about the serviceability-dev mailing list