Skip to content

Commit 61b4e67

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents 5f5d2c0 + 875a9dc commit 61b4e67

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
@@ -3622,7 +3622,7 @@ rv_alloc(int i)
36223622

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

0 commit comments

Comments
 (0)