Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of malicious readers in read_to_end #2314

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Jan 14, 2021

Based on rust-lang/rust#80895.

Fixes #2310

@taiki-e taiki-e added the A-io Area: futures::io label Jan 14, 2021
@taiki-e taiki-e merged commit b38805e into rust-lang:master Jan 14, 2021
@taiki-e taiki-e deleted the io-read_to_end-ub branch January 14, 2021 17:24
@taiki-e
Copy link
Member Author

taiki-e commented Jan 14, 2021

@Nemo157 Thanks for quick review.

@taiki-e
Copy link
Member Author

taiki-e commented Jan 14, 2021

...And, this is a fix for UB, I'll prepare a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-io Area: futures::io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Heap buffer overflow in read_to_end
2 participants