Skip to content

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

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

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
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

1 participant