]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core_input_filter: BRIGADE_NORMALIZE() can be called with an empty brigade.
authorYann Ylavic <ylavic@apache.org>
Mon, 14 Dec 2020 17:53:48 +0000 (17:53 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 14 Dec 2020 17:53:48 +0000 (17:53 +0000)
commitd3f5ef3a0876cf63afa593054cd8e98fb26651f1
tree2f0fac90f762a182faef33ee7152dad44f8ee4e6
parent3fc3d7b7bd1cac4f5808d3e71d40a006b0f1b3ed
core_input_filter: BRIGADE_NORMALIZE() can be called with an empty brigade.

So make it a noop in this case, without dereferencing the sentinel (i.e.
change its do{}while to a while{}).

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