Skip to content

Commit 6bf1be6

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 6bf1be6

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-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

+4
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@ mod relative {
326326

327327
/// Various cases the fuzzer found
328328
mod fuzz {
329+
#[test]
330+
fn reproduce_1979() {
331+
gix_date::parse("fRi ", None).ok();
332+
}
329333
#[test]
330334
fn invalid_but_does_not_cause_panic() {
331335
for input in ["-9999-1-1", "7 -𬞋", "5 ڜ-09", "-4 week ago Z", "8960609 day ago"] {

0 commit comments

Comments
 (0)