[PATCH 1/2] base64: Null terminate encoding