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 infinite loop caused by invalid UTF-8 bytes #2785

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

newca12
Copy link
Contributor

@newca12 newca12 commented Oct 24, 2023

Fix #2784

@taiki-e
Copy link
Member

taiki-e commented Oct 24, 2023

Thanks! Could you add a test for this?

@taiki-e taiki-e added A-io Area: futures::io 0.3-backport: pending The maintainer accepted to backport this to the 0.3 branch, but backport has not been done yet. labels Oct 24, 2023
@newca12
Copy link
Contributor Author

newca12 commented Oct 25, 2023

Thanks! Could you add a test for this?

I opted to enrich the example in the documentation.

@taiki-e taiki-e merged commit de8e42e into rust-lang:master Oct 25, 2023
22 of 25 checks passed
@taiki-e taiki-e mentioned this pull request Oct 26, 2023
@taiki-e taiki-e added 0.3-backport: completed and removed 0.3-backport: pending The maintainer accepted to backport this to the 0.3 branch, but backport has not been done yet. labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loop caused by invalid UTF-8 bytes
2 participants