httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r895483 - /httpd/httpd/trunk/server/protocol.c
Date Sun, 03 Jan 2010 21:31:57 GMT
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;
     }



Mime
View raw message