From: Christophe Jaillet Date: Mon, 1 May 2017 07:36:56 +0000 (+0000) Subject: Fix NULL pointer dereference in error logging message X-Git-Tag: 2.5.0-alpha~443 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f4469f7f2c44eb645106baf387dd7f4622b8615;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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; }