]> git.ipfire.org Git - thirdparty/asterisk.git/commit
http.c: Give HTTP error response when received lines are too long.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 30 Aug 2018 19:42:06 +0000 (14:42 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 30 Aug 2018 21:40:31 +0000 (16:40 -0500)
commit4e20fe9f061cfe34118bc12a96842f8f5f162d3b
tree6afeb72837d5ef8654c9b4ea1a77a5dc9d784d03
parentcfe8ef917d8bc7c667f43dd16f9104a3f09af2d8
http.c: Give HTTP error response when received lines are too long.

Added a check when we receive a HTTP request line or header line that is
too long.  We now return an error response to the sender because we are
not able to process the request.

Change-Id: I6df2705435fd7dde4d5d3bdf7acec859cfb7c12d
main/http.c