Skip to content

curl: Don't truncate length#20747

Closed
ndossche wants to merge 1 commit intophp:PHP-8.3from
ndossche:curl-truncate
Closed

curl: Don't truncate length#20747
ndossche wants to merge 1 commit intophp:PHP-8.3from
ndossche:curl-truncate

Conversation

@ndossche
Copy link
Copy Markdown
Member

Truncating to an int seems dangerous, esp. in combination with a MIN macro. I don't see a reason to truncate the length from size_t to int, and especially no reason to change the signedness.

Truncating to an int seems dangerous, esp. in combination with a MIN
macro. I don't see a reason to truncate the length from size_t to int,
and especially no reason to change the signedness.
@ndossche ndossche closed this in e2059a4 Feb 17, 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.

2 participants