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.
2 parents 9395e01 + 10df94d commit 08d2e51Copy full SHA for 08d2e51
ext/opcache/ZendAccelerator.c
@@ -493,7 +493,7 @@ zend_string* ZEND_FASTCALL accel_new_interned_string(zend_string *str)
493
} while (pos != STRTAB_INVALID_POS);
494
}
495
496
- if (UNEXPECTED(ZCSG(interned_strings).end - ZCSG(interned_strings).top < STRTAB_STR_SIZE(str))) {
+ if (UNEXPECTED((char*)ZCSG(interned_strings).end - (char*)ZCSG(interned_strings).top < STRTAB_STR_SIZE(str))) {
497
/* no memory, return the same non-interned string */
498
zend_accel_error(ACCEL_LOG_WARNING, "Interned string buffer overflow");
499
return str;
0 commit comments