Fix decoding of base64. We got the length wrong when the result was not
authorVolker Lendecke <vlendec@samba.org>
Fri, 23 Jan 2004 12:07:28 +0000 (12:07 +0000)
committerVolker Lendecke <vlendec@samba.org>
Fri, 23 Jan 2004 12:07:28 +0000 (12:07 +0000)
commit3fda2a0432a1dc7a0d28d83e35f6329bc30378e0
tree9f31e8dc05d21e50a8a8c9a9b249c383e1dd0983
parent4840b25dbd4d2eafc010389a711d42862d5fb0f0
Fix decoding of base64. We got the length wrong when the result was not
an exact multiple of 3.

I also wrote a torture test and it survived some minutes of random stuff
coded/decoded up to 16 MB data. But that would be a bit too embarassing to
commit... :-)

Volker
source/lib/util_str.c