Mailing List Archive

[Bug 65575] New: Segmentation fault when backend answers with a response not containing the last CRLF
https://bz.apache.org/bugzilla/show_bug.cgi?id=65575

Bug ID: 65575
Summary: Segmentation fault when backend answers with a
response not containing the last CRLF
Product: Apache httpd-2
Version: 2.4.48
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
Assignee: bugs@httpd.apache.org
Reporter: Fabien.Saudubray@rohde-schwarz.com
Target Milestone: ---

If an answering backend sends a ill-formatted http response,
where instead of two CRLF there is only one, segmentation fault occurs.

Regression since 2.4.46 where there is no error.

Segfault occurs when trying to log this error in protocol.c:line 1021 in
function ap_get_mime_headers_core :

Ultimately this will call function gen_unique_id (mod_unique_id.c) which has
been changed for getting the connection current thread (line 194) but this one
is NULL leading to the segmentation fault.

Other logging related to backend connection not tested, maybe there are
impacted too.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org