# HG changeset patch # User Sergey Kandaurov # Date 1632309043 -10800 # Node ID ea9b645472b5cb381075a3a9638da48bef1feb55 # Parent 33578b8d453db0cef945c5d1fde77fafeeb2603c HTTP/3: fixed null pointer dereference with server push. See details for HTTP/2 fix in 8b0553239592 for a complete description. diff -r 33578b8d453d -r ea9b645472b5 src/http/v3/ngx_http_v3_filter_module.c --- a/src/http/v3/ngx_http_v3_filter_module.c Wed Sep 22 14:08:21 2021 +0300 +++ b/src/http/v3/ngx_http_v3_filter_module.c Wed Sep 22 14:10:43 2021 +0300 @@ -858,6 +858,10 @@ return NGX_ABORT; } + if (r->headers_in.host == NULL) { + return NGX_ABORT; + } + push_id = h3c->next_push_id++; rc = ngx_http_v3_create_push_request(r, path, push_id);