]> git.kaiwu.me - nginx.git/commit
Postpone filter: prevented uninitialized r->out.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 1 Mar 2018 15:38:39 +0000 (18:38 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 1 Mar 2018 15:38:39 +0000 (18:38 +0300)
commit6e30556127157ddf04e925480ce1e0ef9df2ca0a
tree89fb6e3628742f5500713fd1d6141034493ae366
parent7c5c15a25d22b05f1baabfb14395a7924fe4fd8c
Postpone filter: prevented uninitialized r->out.

The r->out chain link could be left uninitialized in case of error.
A segfault could happen if the subrequest handler accessed it.
The issue was introduced in commit 20f139e9ffa8.
src/http/ngx_http_postpone_filter_module.c