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 a bug in UTF-8 decoding. #344

Merged
merged 1 commit into from
Feb 19, 2017
Merged

Conversation

BurntSushi
Copy link
Member

It was possible for an invalid continuation byte to sneak through, which
resulted in incorrect UTF-8 decoding results.

Fixes #321

It was possible for an invalid continuation byte to sneak through, which
resulted in incorrect UTF-8 decoding results.

Fixes rust-lang#321
@BurntSushi
Copy link
Member Author

cc @lukaslueg

@BurntSushi
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Feb 19, 2017

📌 Commit 1e3410a has been approved by BurntSushi

@bors
Copy link
Contributor

bors commented Feb 19, 2017

⌛ Testing commit 1e3410a with merge 204e409...

bors added a commit that referenced this pull request Feb 19, 2017
Fix a bug in UTF-8 decoding.

It was possible for an invalid continuation byte to sneak through, which
resulted in incorrect UTF-8 decoding results.

Fixes #321
@bors
Copy link
Contributor

bors commented Feb 19, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: BurntSushi
Pushing 204e409 to master...

@bors bors merged commit 1e3410a into rust-lang:master Feb 19, 2017
@BurntSushi BurntSushi deleted the fix-321-again branch February 22, 2017 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants