mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-12 13:44:56 +02:00
update: do not modify base64 input to add \0 terminators
It is not needed anymore since ce6521381b
, parsing will
stop at first unrecognized character (like \r or \n)
This commit is contained in:
parent
3d7a65c1ba
commit
6841a105da
@ -392,10 +392,7 @@ static int pgp_unarmor( char *p_ibuf, size_t i_ibuf_len,
|
||||
if( p_ipos[i_line_len - 1] == '=' )
|
||||
{
|
||||
i_end = 1;
|
||||
p_ipos[i_line_len - 1] = '\0';
|
||||
}
|
||||
else
|
||||
p_ipos[i_line_len] = '\0';
|
||||
|
||||
p_opos += vlc_b64_decode_binary_to_buffer( p_opos,
|
||||
p_obuf - p_opos + i_obuf_len, p_ipos );
|
||||
|
Loading…
Reference in New Issue
Block a user