You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/09/16 10:52:16 UTC

[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


[Bug 65575] Segmentation fault when backend answers with a response not containing the last CRLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65575

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Ruediger Pluem <rp...@apache.org> ---
Can you please recheck with the just released 2.4.49? This part of the code of
mod_unique_id has been reverted in the release.

-- 
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


[Bug 65575] Segmentation fault when backend answers with a response not containing the last CRLF

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65575

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. This ticket has been in NEEDINFO status with no
response for more than 1 year. If you still experience this issue with a
current version of Apache httpd (2.4.x or trunk), please open a new ticket with
updated details. We are closing this ticket due to inactivity.

-- 
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