]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix NULL pointer dereference in error logging message
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 1 May 2017 07:36:56 +0000 (07:36 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 1 May 2017 07:36:56 +0000 (07:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1793286 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_proxy_session.c

index f2fed906b7123bd3d80ff18f41d1dfcd7577b585..5a66f2ab6930d944fc11b6e5f39a77555b938cdb 100644 (file)
@@ -492,8 +492,8 @@ static ssize_t stream_request_data(nghttp2_session *ngh2, int32_t stream_id,
     stream = nghttp2_session_get_stream_user_data(ngh2, stream_id);
     if (!stream) {
         ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(03361)
-                     "h2_proxy_stream(%s): data_read, stream %d not found", 
-                     stream->session->id, stream_id);
+                     "h2_proxy_stream(NULL): data_read, stream %d not found", 
+                     stream_id);
         return NGHTTP2_ERR_CALLBACK_FAILURE;
     }