diff options
author | Xinchen Hui <laruence@gmail.com> | 2017-05-27 22:42:17 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2017-05-27 22:42:27 +0800 |
commit | 60912e66c8c6089cced22b14eadfade11e89d70a (patch) | |
tree | c34398b051490275aec0e8680a4d9fedba5ab750 /ext/opcache/zend_accelerator_module.c | |
parent | ece7d223e821f57593e7c005a83500f6b491d723 (diff) | |
download | php-git-60912e66c8c6089cced22b14eadfade11e89d70a.tar.gz |
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
Diffstat (limited to 'ext/opcache/zend_accelerator_module.c')
-rw-r--r-- | ext/opcache/zend_accelerator_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index 898a13c6db..6112027cd8 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -341,7 +341,7 @@ static int filename_is_in_cache(zend_string *filename) handle.type = ZEND_HANDLE_FILENAME; if (ZCG(accel_directives).validate_timestamps) { - return validate_timestamp_and_record(persistent_script, &handle) == SUCCESS; + return validate_timestamp_and_record_ex(persistent_script, &handle) == SUCCESS; } return 1; |