[Joint response] On Mon, Nov 30, 2020 at 10:27 AM Ruediger Pluem <rpl...@apache.org> wrote: > > If src == NULL we leave immediately with APR_NOTFOUND. How does the below > change this?
On Mon, Nov 30, 2020 at 9:56 PM Graham Leggett <minf...@sharp.fm> wrote: > > A small detail - the API returns exact lengths across all apr_encode calls, > none of these are estimates. Bad commit message, propedit-ed in both trunk and 1.7.x. On Mon, Nov 30, 2020 at 10:27 AM Ruediger Pluem <rpl...@apache.org> wrote: > > This creates a much larger result. If slen == 1 e.g. 5 vs 9 That's what's needed for base32. I think the code/formula was taken from base64, and only apr_encode_base32_binary()'s formula was adjusted. Regards; Yann.