]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix potential segfault when dereferencing NULL request_rec
authorStefan Fritsch <sf@apache.org>
Sun, 3 Jan 2010 21:31:57 +0000 (21:31 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 3 Jan 2010 21:31:57 +0000 (21:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895483 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index b04a4c0994f588963dd75b366e164a97c49a1c16..38840f5429d2cafbfb7d4948e4126899679f2266 100644 (file)
@@ -1704,7 +1704,7 @@ AP_DECLARE(void) ap_send_interim_response(request_rec *r, int send_headers)
         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;
     }