]> git.kaiwu.me - nginx.git/commit
HTTP/2: fixed ngx_http_v2_push_stream() allocation error handling.
authorRuslan Ermilov <ru@nginx.com>
Thu, 15 Feb 2018 14:51:37 +0000 (17:51 +0300)
committerRuslan Ermilov <ru@nginx.com>
Thu, 15 Feb 2018 14:51:37 +0000 (17:51 +0300)
commit89661c0e7d90fd493fc753d388d64c134f3bb3ad
tree00874d73abbedeee53516d14432477072e933089
parent2437532e7fdb6f8900b05740058342e4d635a2e5
HTTP/2: fixed ngx_http_v2_push_stream() allocation error handling.

In particular, if a stream object allocation failed, and a client sent
the PRIORITY frame for this stream, ngx_http_v2_set_dependency() could
dereference a null pointer while trying to re-parent a dependency node.
src/http/v2/ngx_http_v2.c