Skip to content

Commit 5252e8b

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
2 parents e68970d + 61b4e67 commit 5252e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_strtod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3618,7 +3618,7 @@ rv_alloc(int i)
36183618

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

0 commit comments

Comments
 (0)