June 24, 2025
12:43 p.m.
WideCharToMultiByte normally null-terminates the output if input length is -1, but it doesn't do so if the output buffer is too small. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8420