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

fixed unwrap() error on invalid utf8 #3

Closed
wants to merge 1 commit into from

Conversation

alexanderkjall
Copy link

fixes #2

@wfxr
Copy link
Owner

wfxr commented Sep 18, 2020

Thanks for your contribution @alexanderkjall .

We can improve the error message but should not ignore the encoding error. csview should exit with a non-zero code since it only supports utf-8.

@alexanderkjall
Copy link
Author

That sounds like a better solution, I just needed something like this to continue my fuzzing, feel free to close this PR.

For your information I also found a bug in an underlying library: phsym/prettytable-rs#130

@wfxr wfxr closed this Sep 18, 2020
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.

UTF-8 Error
2 participants