]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core: Ensure that ap_*getline*() return NUL terminated lines on any error.
authorYann Ylavic <ylavic@apache.org>
Thu, 15 Feb 2018 12:57:14 +0000 (12:57 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 15 Feb 2018 12:57:14 +0000 (12:57 +0000)
commit22d5a5a9e1be48fd03feed377096d821935344d0
treedfa6cdd38f0949f5f62538a19ab2de21fa0f0e8b
parent8469fc3f69cf297ceff280de3559a660f621cb5a
core: Ensure that ap_*getline*() return NUL terminated lines on any error.

This was done only on buffer full, so be consistent, and fail early if the
given buffer can't even hold the NUL bytes (negative or nul size).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1824303 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
server/protocol.c