From: Stefan Fritsch Date: Sun, 3 Jan 2010 21:31:57 +0000 (+0000) Subject: Fix potential segfault when dereferencing NULL request_rec X-Git-Tag: 2.3.5~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2af96f1528fb83b26dd95c84ac8513f0cc9aedd5;p=thirdparty%2Fapache%2Fhttpd.git Fix potential segfault when dereferencing NULL request_rec git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895483 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index b04a4c0994f..38840f5429d 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -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; }