Commit c68e9688 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

base64 decode: stops after first invalid character

(cherry picked from commit ce6521381bc24cda9c9ac4f54ae6e0b61bbcde53)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 93b37f19
......@@ -528,7 +528,7 @@ size_t vlc_b64_decode_binary_to_buffer( uint8_t *p_dst, size_t i_dst, const char
{
const int c = b64[(unsigned int)*p];
if( c == -1 )
continue;
break;
switch( i_level )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment