]> git.kaiwu.me - nginx.git/commit
Upstream: fixed u->headers_in.headers allocation error handling.
authorSergey Kandaurov <pluknet@nginx.com>
Thu, 18 May 2017 11:17:00 +0000 (14:17 +0300)
committerSergey Kandaurov <pluknet@nginx.com>
Thu, 18 May 2017 11:17:00 +0000 (14:17 +0300)
commit9359155b2fb443ac3c2cf0d897d5db668585235b
tree3fb886f452f0c5db7e71b1a245653b8ca9016ecd
parent84fdff7930986b436dfeea21134cee598b129d97
Upstream: fixed u->headers_in.headers allocation error handling.

Previously, an allocation error resulted in uninitialized memory access
when evaluating $upstream_http_ variables.

On a related note, see r->headers_out.headers cleanup work in 0cdee26605f3.
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c