1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.2' into PHP-8.3

This commit is contained in:
David Carlier
2024-11-08 12:27:24 +00:00

View File

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