bspeice/dtparse

parser crash on bogus data in third field after separator

Closed this issue · 2 comments

The unwrap on the i32 parser in line 955 of lib.rs triggers a panic if there's garbage after the delimiter. Crashes with the following input:
parse("2..\x00\x000d\x00+\x010d\x01\x00\x00\x00+")

Adding a pull request in a sec to close this one.

Fixed as part of the pull request, thanks much for that.