diff options
author | Valentin Bartenev <vbart@nginx.com> | 2021-05-07 07:46:25 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2021-05-07 07:46:25 +0300 |
commit | b0e32bc015f8eb146e745b7184549e15c6657f85 (patch) | |
tree | d6e68c130558c35a77fcb35979f707ff0d020a72 /test/test_php_application.py | |
parent | 6703b68ed00e7cc8132c0aaf3049ed30889de8a8 (diff) | |
download | unit-b0e32bc015f8eb146e745b7184549e15c6657f85.tar.gz unit-b0e32bc015f8eb146e745b7184549e15c6657f85.tar.bz2 |
PHP: forced initialization of $_SERVER in fastcgi_finish_request().
The "auto_globals_jit" PHP option postponed the initialization of the $_SERVER
global variable until the script using it had been loaded (e. g. via the
"include" expression). As a result, nxt_php_register_variables() could be
called after fastcgi_finish_request() had finished the request and nulled
ctx->req, which thus caused a segmentation fault.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions