/[Apache-SVN]
ViewVC logotype

Revision 1883861


Jump to revision: Previous Next
Author: ylavic
Date: Fri Nov 27 15:23:31 2020 UTC (3 years, 5 months ago)
Changed paths: 1
Log Message:
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.


Changed paths

Path Details
Directoryapr/apr/trunk/encoding/apr_base64.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26