]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Fix a big memory leak bug related to arbitrarily large header lines.
authorAaron Bannert <aaron@apache.org>
Wed, 31 Oct 2001 18:21:53 +0000 (18:21 +0000)
committerAaron Bannert <aaron@apache.org>
Wed, 31 Oct 2001 18:21:53 +0000 (18:21 +0000)
commit6ce6a5d3286f0666edecf4e5ab7d6ec90dae5d60
treecbd515d6524ae0d0d0abeab77cfbca35a02a6b3a
parent6cd6fda2b8333fd83222b9f17ea3a52dc016ba82
Fix a big memory leak bug related to arbitrarily large header lines.
The core input filter would happily consume all the data you gave it
in a header line, looking for that one LF. This patch limits that
"getline" functionality to HUGE_STRING_LEN (8192 bytes).

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