Panic when decoding an invalid UTCTime #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello, I hope this is the right place to report this; I didn't find any documentation for a preferred method for reporting security issues.
The following code panics when trying to parse an invalid UTCTime object:
The panic occurs because of these line in lib.rs:
If the string is constructed in such a way that the first two bytes do not end on a character boundary, the slice operation will panic.
Found by fuzzing a downstream library.
I'll submit a patch ASAP.