https://issues.apache.org/bugzilla/show_bug.cgi?id=52315
Bug #: 52315
Summary: NULL pointer in log.c caused by
ap_send_interim_response() in protocol.c
Product: Apache httpd-2
Version: 2.2.21
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
While debugging an issue with uploading files in Liferay (tomcat 6) behind an
httpd proxy, I found the following:
In 2.2.21, in server/protocol.c ap_send_interim_response() does not pass on the
request to
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, NULL,
"Status is %d - not sending interim response", r->status);
(line 1684 in 2.2.x branch in git,
https://github.com/apache/httpd/blob/2.2.x/server/protocol.c#L1684).
The ap_log_rerror method goes on to reference r->status, but the request is not
passed to it. (https://github.com/apache/httpd/blob/2.2.x/server/log.c#L730)
The above ap_log_rerror call should pass r on instead of NULL:
ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
"Status is %d - not sending interim response", r->status);
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]