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

Heap buffer overflow in read_to_end #2310

Closed
taiki-e opened this issue Jan 12, 2021 · 0 comments · Fixed by #2314
Closed

Heap buffer overflow in read_to_end #2310

taiki-e opened this issue Jan 12, 2021 · 0 comments · Fixed by #2314
Labels
A-io Area: futures::io bug

Comments

@taiki-e
Copy link
Member

taiki-e commented Jan 12, 2021

This originally reported as a bug of std::io by @Qwaz (Thanks!).
futures's read_to_end is implemented based on the std's read_to_end, so it has the same bug.
See rust-lang/rust#80894 for more.

playground

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

Successfully merging a pull request may close this issue.

1 participant