Merge branch 'PHP-8.3' into PHP-8.4

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

View File

@ -3618,7 +3618,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++;