Commit ce652138 authored by Rafaël Carré's avatar Rafaël Carré

base64 decode: stops after first invalid character

parent 24491d22
...@@ -415,7 +415,7 @@ size_t vlc_b64_decode_binary_to_buffer( uint8_t *p_dst, size_t i_dst, const char ...@@ -415,7 +415,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]; const int c = b64[(unsigned int)*p];
if( c == -1 ) if( c == -1 )
continue; break;
switch( i_level ) 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