Skip to content

Commit

Permalink
Fixed bug #80506 (Immediate SIGSEGV upon ini_set("opcache.jit_debug",…
Browse files Browse the repository at this point in the history
… 1))
  • Loading branch information
dstogov committed Dec 14, 2020
1 parent d254078 commit a12e7af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/opcache/ZendAccelerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit a12e7af

Please sign in to comment.