Skip to content

Conversation

@caspermeijn
Copy link
Contributor

Add a fuzzing target for parsing into a Timestamp and comparing the result with crate chrono.

Add a fuzzing target for parsing into a Timestamp and comparing the result with crate chrono.
@caspermeijn
Copy link
Contributor Author

@mumbleskates This is the fuzzer I used for my testing. Do you have suggestions?

Copy link
Contributor

@mumbleskates mumbleskates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good! when i tried to do it the first time i think i called the wrong chrono parsing function or something and it was accepting years with too few digits so i had a lot of annoying problems with that, but this is very nice.

@caspermeijn caspermeijn added this pull request to the merge queue Aug 17, 2024
Merged via the queue into tokio-rs:master with commit df3e58e Aug 17, 2024
@caspermeijn caspermeijn deleted the fuzz_date_time branch August 17, 2024 13:02
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.

2 participants