From 3f4469f7f2c44eb645106baf387dd7f4622b8615 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Mon, 1 May 2017 07:36:56 +0000 Subject: [PATCH] Fix NULL pointer dereference in error logging message git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1793286 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http2/h2_proxy_session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/http2/h2_proxy_session.c b/modules/http2/h2_proxy_session.c index f2fed906b71..5a66f2ab693 100644 --- a/modules/http2/h2_proxy_session.c +++ b/modules/http2/h2_proxy_session.c @@ -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; } -- 2.47.3