Skip to content
  • Rémi Denis-Courmont's avatar
    vlc_stream_ReadLine: fix off-by-one · dbb8a189
    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