commit | 1622024bac013e3b978db68e91636cc5e5fa2f13 | [log] [tgz] |
---|---|---|
author | Yann Ylavic <ylavic@apache.org> | Fri Nov 27 15:23:31 2020 +0000 |
committer | Yann Ylavic <ylavic@apache.org> | Fri Nov 27 15:23:31 2020 +0000 |
tree | ba97e8b440b278744b8cc8071ae9c4dc68aee367 | |
parent | 68d31b9ab73a1358f02f48de41bf0581d5bb87ab [diff] |
apr_base64: avoid double NUL termination in apr_pbase64_{encode,decode}() Since apr_base64_{encode,decode}() already NUL terminate the result, it needs not be done in apr_pbase64_{encode,decode}(). The NUL byte is also included in apr_base64_decode_len(), so no need to reserve an extra one in apr_pbase64_decode() etiher. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1883861 13f79535-47bb-0310-9956-ffa450edef68