Skip to content

Commit 9216436

Browse files
committed
Merge branch 'PHP-8.4'
2 parents f3b150a + 5252e8b commit 9216436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_strtod.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3614,7 +3614,7 @@ rv_alloc(int i)
36143614

36153615
j = sizeof(ULong);
36163616
if (i > ((INT_MAX >> 2) + rem))
3617-
zend_error_noreturn(E_ERROR, "rv_alloc() allocation overflow %d", i);
3617+
i = (INT_MAX >> 2) + rem;
36183618
for(k = 0;
36193619
rem + j <= (size_t)i; j <<= 1)
36203620
k++;

0 commit comments

Comments
 (0)