mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
Merge branch 'PHP-8.4'
This commit is contained in:
commit
9216436186
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user