jwerle / b64.c

Base64 encode/decode
MIT License
270 stars 102 forks source link

Need to avoid buffer underflow before adding '\0' #2

Closed prasad83 closed 10 years ago

prasad83 commented 10 years ago

Added fix to make sure we have enough space to add '\0' character at end.

jwerle commented 10 years ago

Nice catch. Thanks !