On 11/11/2013 04:07 PM, Pádraig Brady wrote: > --- a/lib/base64.c > +++ b/lib/base64.c
> - while (inlen && outlen) > + /* Note the outlen constraint can be enforced at compile time, > + while the inlen can change at runtime at the end of input. > + But the common case when reading large inputs is to have > + both constraints satisfied, so we depend on both in > + base_encode_fast(). */ > + if ((inlen % 3 == 0) && BASE64_LENGTH (inlen) == outlen) > + return base64_encode_fast (in, inlen, out); > + > + while (inlen) Oops that should be inlen && outlen