With or without padding g_base64_decode different results
Description
The g_base64_decode
function is returning different results for the base64 string "YW" with or without padding:
- Calling
g_base64_decode("YW==")
returns "a" - Calling
g_base64_decode("YW")
returns ""
System information
- Glib version: 2.56.4
- System: Ubuntu 18.04.4