commit | b6a5b4ee515dfb5be37306a58287ac5f82873ad2 | [log] [tgz] |
---|---|---|
author | Ruslan Ermilov <ru@nginx.com> | Fri Feb 09 23:20:08 2018 +0300 |
committer | Ruslan Ermilov <ru@nginx.com> | Fri Feb 09 23:20:08 2018 +0300 |
tree | 53e889e14f2d8c810c0e5b0d60532640eb104aa7 | |
parent | 75c9d6b1390b17595be1a5e8368b32a53a8072eb [diff] |
HTTP/2: fixed null pointer dereference with server push. r->headers_in.host can be NULL in ngx_http_v2_push_resource(). This happens when a request is terminated with 400 before the :authority or Host header is parsed, and either pushing is enabled on the server{} level or error_page 400 redirects to a location with pushes configured. Found by Coverity (CID 1429156).