[patch] A couple of bugfixes for base64 uudecode
Denis Vlasenko
vda.linux at googlemail.com
Mon Jun 4 22:32:27 UTC 2007
On Monday 04 June 2007 22:57, Jorgen Cederlof wrote:
> Hello list,
>
> I encountered a couple of problems with base64 uudecode. It couldn't
> handle an empty file (term_count needs to be 1 at the beginning of a
> line to catch the terminating line, which it was for every line but
> the first) and when the output was supposed to be 3n+1 bytes it wrote
> an extra junk byte at the end when it encountered the second '='. The
> patch below should fix both issues.
Wow. Thanks.
Can you send a few testcases which you use for testing?
--
vda
More information about the busybox
mailing list