Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unsoundness on invalid utf-8 inputs
Previously, unchecked user input bytes were passed into `str::from_utf8_unchecked`, which is unsound as it was within a safe function. It's been revised to check the user input and fail if there's invalid input.
- Loading branch information