network: fix possible buffer overflow
The function vlc_tls_GetLine() forgot to truncate the string if a line sent by the server did not end with `\r\n`. As a consequence, it returned a non-NUL-terminated string. (cherry picked from commit 746bdbb1) Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Loading
Please register or sign in to comment