Merge branch 'PHP-8.4'

This commit is contained in:
David Carlier 2024-11-08 12:28:44 +00:00
commit 9216436186
No known key found for this signature in database
GPG Key ID: 8486F847B4B94EF1

View File

@ -3614,7 +3614,7 @@ rv_alloc(int i)
j = sizeof(ULong);
if (i > ((INT_MAX >> 2) + rem))
zend_error_noreturn(E_ERROR, "rv_alloc() allocation overflow %d", i);
i = (INT_MAX >> 2) + rem;
for(k = 0;
rem + j <= (size_t)i; j <<= 1)
k++;