Home
last modified time | relevance | path

Searched hist:1861 (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_php_sapi.cdiff 1861:570b306cc708 Fri May 07 04:46:00 UTC 2021 Valentin Bartenev <vbart@nginx.com> 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.
/unit/docs/
H A Dchanges.xmldiff 1861:570b306cc708 Fri May 07 04:46:00 UTC 2021 Valentin Bartenev <vbart@nginx.com> 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.