summaryrefslogtreecommitdiffstats
path: root/changes-entries
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2021-09-07 15:09:07 +0200
committerYann Ylavic <ylavic@apache.org>2021-09-07 15:09:07 +0200
commit74c097f0e1d9ffce5a74f5b99a2cbfc349b65ec6 (patch)
tree246bc9de355318e46d7b38cb4f99db626a19a31e /changes-entries
parentRevert r1893026, will re-commit with minimal changes to ease backport. (diff)
downloadapache2-74c097f0e1d9ffce5a74f5b99a2cbfc349b65ec6.tar.xz
apache2-74c097f0e1d9ffce5a74f5b99a2cbfc349b65ec6.zip
core: Initialize the request fields on read failure to avoid NULLs.
* server/protocol.c(read_request_line): Set r->method_number to M_INVALID and r->{method,uri,unparsed_uri} to "-" when read fails, ap_parse_request_line() will never be called. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893030 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'changes-entries')
-rw-r--r--changes-entries/init_request_on_read_failure.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/changes-entries/init_request_on_read_failure.txt b/changes-entries/init_request_on_read_failure.txt
new file mode 100644
index 0000000000..c59bf89460
--- /dev/null
+++ b/changes-entries/init_request_on_read_failure.txt
@@ -0,0 +1,2 @@
+ *) core: Initialize the request fields on read failure to avoid NULLs.
+ [Yann Ylavic] \ No newline at end of file