-
Rémi Denis-Courmont authored
Do not erase the last converted byte. This bug has apparently existed ever since UTF-16 support was added. If the conversion fails, this bug resulted in a heap underflow (writing zero right before the beginning of the buffer).
dbb8a189