We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c299b27 commit 8c053d4Copy full SHA for 8c053d4
ext/opcache/zend_shared_alloc.c
@@ -512,6 +512,10 @@ int zend_accel_in_shm(void *ptr)
512
{
513
int i;
514
515
+ if (!smm_shared_globals) {
516
+ return 0;
517
+ }
518
+
519
for (i = 0; i < ZSMMG(shared_segments_count); i++) {
520
if ((char*)ptr >= (char*)ZSMMG(shared_segments)[i]->p &&
521
(char*)ptr < (char*)ZSMMG(shared_segments)[i]->p + ZSMMG(shared_segments)[i]->size) {
0 commit comments