[erlang-bugs] base64:decode/1 fails on some inputs

Will wglozer@REDACTED
Thu Oct 23 19:20:42 CEST 2008


Hello,

I've noticed that base64:decode/1 will fail on some inputs, although I don't
know why or what triggers it.
Here is a string that does however:

"+tpm7jXi9ymsOflkw7ImYaa+oJrAC/E2fueZ4QYP+\\hfuAQ0MFPLSSqDMYO/ZohCVWJOh/KwKE2F9Ea5QZJGQ=="

I've also attached a test case.

Thanks!
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20081023/3c1a06f8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base64_fail.erl
Type: application/octet-stream
Size: 298 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20081023/3c1a06f8/attachment.obj>


More information about the erlang-bugs mailing list