httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52315] New: NULL pointer in log.c caused by ap_send_interim_response() in protocol.c
Date Fri, 09 Dec 2011 18:11:16 GMT
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: bugs@httpd.apache.org
        ReportedBy: elindoorn@gmail.com
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message