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)
commit72d68bb58cc8cd5d80397f037bb2d1c1ae49415c
tree70e99069c442c437655d1f9562316f4432e623f8
parentd3f269cd833c7452776008881ec1f1b695e0eabf
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
(This used to be commit 3fda2a0432a1dc7a0d28d83e35f6329bc30378e0)
source3/lib/util_str.c