]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
ab: apr_base64_encode already NUL-terminate the output.
authorYann Ylavic <ylavic@apache.org>
Fri, 22 Apr 2022 12:14:01 +0000 (12:14 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 22 Apr 2022 12:14:01 +0000 (12:14 +0000)
commitb6c0306cecae198d7161b47eaa34e80d87812b17
treea0907a4bf2c7fb218211b45e4cfe6afb0cb3b7a5
parent533a895c1f52c351ae1d338df32236c0a642442b
ab: apr_base64_encode already NUL-terminate the output.

And returns the length including the trailing \0, so setting it at that
length is off by +1.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1900152 13f79535-47bb-0310-9956-ffa450edef68
support/ab.c