Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a panic from an unchecked string slice.
When slicing a string, you get a panic if you do so at any point other than at a character boundary. This happened in the implementation of UTCTime parsing. This bug was introduced in bc156c3, and appears to affect only version 0.6.0. I've tried using the clippy::string_slice lint to confirm that there are not any other string slices in this code. Fixes bug #27. Found via fuzzing.
- Loading branch information