aklomp / base64

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
BSD 2-Clause "Simplified" License
884 stars 165 forks source link

Fix invalid input handling #19

Closed mayeut closed 8 years ago

mayeut commented 8 years ago

Decoder can succeed with invalid input. This fixes this issue and add tests for this case.

mayeut commented 8 years ago

Everything has been pushed now... should be better.

aklomp commented 8 years ago

Thanks, merged! I had perhaps some minor stylistic comments, but they were not important. Thanks especially for writing testcases, those contributions are rare in open source :)