You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2010/01/03 22:31:57 UTC

svn commit: r895483 - /httpd/httpd/trunk/server/protocol.c

Author: sf
Date: Sun Jan  3 21:31:57 2010
New Revision: 895483

URL: http://svn.apache.org/viewvc?rev=895483&view=rev
Log:
Fix potential segfault when dereferencing NULL request_rec

Modified:
    httpd/httpd/trunk/server/protocol.c

Modified: httpd/httpd/trunk/server/protocol.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/protocol.c?rev=895483&r1=895482&r2=895483&view=diff
==============================================================================
--- httpd/httpd/trunk/server/protocol.c (original)
+++ httpd/httpd/trunk/server/protocol.c Sun Jan  3 21:31:57 2010
@@ -1704,7 +1704,7 @@
         return;
     }
     if (!ap_is_HTTP_INFO(r->status)) {
-        ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, NULL,
+        ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
                       "Status is %d - not sending interim response", r->status);
         return;
     }