diff options
author | Valentin Bartenev <vbart@nginx.com> | 2021-11-25 19:58:54 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2021-11-25 19:58:54 +0300 |
commit | d4b13c7cd5520b2b8bd8833765a3ba4246a93df7 (patch) | |
tree | 3673e5bc0ad860e72ab92b29b61018450aaf4632 /pkg/deb/debian/control.in | |
parent | 7ed38c9efe97529784c65e2b25e440b817d364bb (diff) | |
download | unit-d4b13c7cd5520b2b8bd8833765a3ba4246a93df7.tar.gz unit-d4b13c7cd5520b2b8bd8833765a3ba4246a93df7.tar.bz2 |
PHP: fixed crash when calling module functions in OPcache preload.
In PHP, custom fastcgi_finish_request() and overloaded chdir() functions can be
invoked by an OPcache preloading script (it runs when php_module_startup() is
called in the app process setup handler). In this case, there was no runtime
context set so trying to access it caused a segmentation fault.
This closes #602 issue on GitHub.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions