Commit Graph

2 Commits

Author SHA1 Message Date
Jeremy Nimmer
80ea0028c7 Fix DecodeBase64 to reject truncated input
If the input doesn't have the proper number of encoding characters
(a multiple of 4), return an empty result.

Co-Authored-By: Sean Curtis <sean.curtis@tri.global>
2026-02-10 13:49:45 -06:00
Robert Sebastian Herlim
2f8997565b Use static_cast<unsigned char> on DecodeBase64 to prevent SEGV on negative values (#1051) 2021-10-20 10:18:08 -05:00