diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-09-07 15:09:07 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-09-07 15:09:07 +0200 |
commit | 74c097f0e1d9ffce5a74f5b99a2cbfc349b65ec6 (patch) | |
tree | 246bc9de355318e46d7b38cb4f99db626a19a31e /build/PrintPath | |
parent | Revert r1893026, will re-commit with minimal changes to ease backport. (diff) | |
download | apache2-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 'build/PrintPath')
0 files changed, 0 insertions, 0 deletions