Skip to content

main/io: stream_copy_to_stream() socket timeout overflow. - #25863

Closed
devnexen wants to merge 2 commits into
php:PHP-8.6from
devnexen:gh25860
Closed

devnexen wants to merge 2 commits into
php:PHP-8.6from
devnexen:gh25860

Conversation

@devnexen

Copy link
Copy Markdown
Member

A stream timeout above INT_MAX milliseconds was truncated when converted to an int. Used php_tvtoto() which checks the range.

Fix GH-25860

A stream timeout above INT_MAX milliseconds was truncated when
converted to an int. Used php_tvtoto() which checks the range.

Fix phpGH-25860
@devnexen
devnexen marked this pull request as ready for review November 28, 2026 19:21
@devnexen
devnexen requested a review from bukka as a code owner November 28, 2026 19:21
@devnexen devnexen closed this in 9e78ae2 Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main/io & main/poll: 32-bit integer overflow in timeout_ms calculation and kqueue realloc size

2 participants