-
-
Notifications
You must be signed in to change notification settings - Fork 354
reproduce fuzz-failures #1984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reproduce fuzz-failures #1984
Conversation
It's notable that this regression was introduced in `v0.2.11`. ``` ❯ cargo update -p jiff Updating crates.io index Locking 2 packages to latest compatible versions Updating jiff v0.2.10 -> v0.2.11 Updating jiff-static v0.2.10 -> v0.2.11 note: pass `--verbose` to see 10 unchanged dependencies behind latest ``` Thus, the issue didn't reproduce in v0.2.10.
Hi @BurntSushi, the fuzzer has detected a regression in The panic looks like this:
Maybe this is super-easy to fix for you, but if you are busy I'd also offer to try and contribute a fix. |
Nice find! Fixed here: BurntSushi/jiff#360 I'll put out a release with the fix today. |
OK, this should be fixed in |
This upgrades `jiff` to 0.2.12 to fix fuzzing failures. The test case introduced in the previous commit now passes. Upgrading `jiff` past 0.2.11 gets the fix for BurntSushi/jiff#359, fixed in BurntSushi/jiff#360. To avoid declaring compatibility with a version that has the bug, this advances `jiff` from 0.2.10 to 0.2.12 in the `gix-archive` and `gix-date` manifests. (The changes in `Cargo.lock` are those that occur automatically when `cargo check --workspace` is run after those changes.) Fixes #1979 Fixes #1982
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope it's okay that I've pushed a commit upgrading jiff
to 0.2.12.
See 0be4dd4 for details. Based on local testing as well as these results in my fork, I expect CI to pass (edit: it has passed here as well). However, since this PR is still a draft, and in case you prefer to proceed differently with it, I'll refrain from marking it non-draft or merging it.
Update: Although #1979 and #1982 have been closed automatically because the availability of jiff
0.2.12 makes fuzzing pass (Cargo.lock
is not used there), it seems to me that this PR is still worth merging, since the test you added is good, and I think bumping the Cargo.toml
versions of jiff
to be strictly higher than the version with the bug (as done in 0be4dd4) is worthwhile too.
This is great, thanks so much for the quick turnaround, @BurntSushi , and of course thanks @EliahKagan for picking this up in my absence, it's much appreciated! |
It's notable that this regression was introduced in
v0.2.11
.Thus, the issue didn't reproduce in v0.2.10.
Fixes #1979 and #1982 (transitively, as
gix-date::parse()
is invoked throughgix-refspec
).Tasks
jiff
and how it can be fixed.