1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00

Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1))

This commit is contained in:
Dmitry Stogov
2020-12-14 15:26:11 +03:00
parent d254078020
commit a12e7affd7
+2
View File
@@ -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 */