Skip to content

Commit 9ccd762

Browse files
committed
reproduce fuzz-failure (#1979)
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.
1 parent 28935a5 commit 9ccd762

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

Cargo.lock

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gix-date/tests/time/parse.rs

+3
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ mod relative {
328328
mod fuzz {
329329
#[test]
330330
fn invalid_but_does_not_cause_panic() {
331+
for input in ["fRi "] {
332+
gix_date::parse(input, None).ok();
333+
}
331334
for input in ["-9999-1-1", "7 -𬞋", "5 ڜ-09", "-4 week ago Z", "8960609 day ago"] {
332335
gix_date::parse(input, Some(std::time::UNIX_EPOCH)).ok();
333336
}

0 commit comments

Comments
 (0)