com php-src: Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)): ext /opcache/ZendAccelerator.c

From: Date: Mon, 14 Dec 2020 12:26:11 +0000
Subject: com php-src: Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)): ext /opcache/ZendAccelerator.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114437@lists.php.net to get a copy of this message
Commit: a12e7affd7053f22f66ee2b6b1f00b6b8f1ca540 Author: Dmitry Stogov <dmitry@zend.com> Mon, 14 Dec 2020 15:26:11 +0300 Parents: d254078020c74c9bde1312fe68f66ce80971697d Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a12e7affd7053f22f66ee2b6b1f00b6b8f1ca540 Log: Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)) Bugs: https://bugs.php.net/80506 Changed paths: M ext/opcache/ZendAccelerator.c Diff: diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 4fbc60bd74d..5c7f31b4879 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -3058,6 +3058,8 @@ static zend_result accel_post_startup(void) zend_accel_error(ACCEL_LOG_FATAL, "opcache.file_cache_only is set without a proper setting of opcache..file_cache"); return SUCCESS; } else { + JIT_G(enabled) = 0; + JIT_G(on) = 0; accel_shared_globals = calloc(1, sizeof(zend_accel_shared_globals)); /* Init auto-global strings */

« previous php.cvs (#114437) next »