Fix potential overflow in base64_encode
3 files changed