History

Further upgrade `jiff` to fix fuzz failures (#1984)

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

Eliah Kagan committed 1 year ago

Commit 0be4dd41 parent 6bf1be64 files · +16 −15Browse files

Unified · Split

4 files
  1. Cargo.lock +13 −13
  2. gix-archive/Cargo.toml +1 −1
  3. gix-date/Cargo.toml +1 −1
  4. gix-date/tests/time/parse.rs +1 −0
Cargo.lock+13−13
@@ -1028,7 +1028,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" · 1027 unmodified lines
10281028 checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e"
10291029 dependencies = [
10301030 "libc",
1031− "windows-sys 0.52.0",
1031+ "windows-sys 0.59.0",
10321032 ]
10331033
10341034 [[package]]
@@ -3474,7 +3474,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" · 2439 unmodified lines
34743474 dependencies = [
34753475 "hermit-abi 0.5.0",
34763476 "libc",
3477− "windows-sys 0.52.0",
3477+ "windows-sys 0.59.0",
34783478 ]
34793479
34803480 [[package]]
@@ -3534,9 +3534,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" · 53 unmodified lines
35343534
35353535 [[package]]
35363536 name = "jiff"
3537−version = "0.2.11"
3537+version = "0.2.12"
35383538 source = "registry+https://github.com/rust-lang/crates.io-index"
3539−checksum = "27e77966151130221b079bcec80f1f34a9e414fa489d99152a201c07fd2182bc"
3539+checksum = "d07d8d955d798e7a4d6f9c58cd1f1916e790b42b092758a9ef6e16fef9f1b3fd"
35403540 dependencies = [
35413541 "jiff-static",
35423542 "jiff-tzdb-platform",
@@ -3544,14 +3544,14 @@ dependencies = [ · 1 unmodified line
35443544 "portable-atomic",
35453545 "portable-atomic-util",
35463546 "serde",
3547− "windows-sys 0.52.0",
3547+ "windows-sys 0.59.0",
35483548 ]
35493549
35503550 [[package]]
35513551 name = "jiff-static"
3552−version = "0.2.11"
3552+version = "0.2.12"
35533553 source = "registry+https://github.com/rust-lang/crates.io-index"
3554−checksum = "97265751f8a9a4228476f2fc17874a9e7e70e96b893368e42619880fe143b48a"
3554+checksum = "f244cfe006d98d26f859c7abd1318d85327e1882dc9cef80f62daeeb0adcf300"
35553555 dependencies = [
35563556 "proc-macro2",
35573557 "quote",
@@ -3682,7 +3682,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" · 124 unmodified lines
36823682 checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
36833683 dependencies = [
36843684 "cfg-if",
3685− "windows-targets 0.48.5",
3685+ "windows-targets 0.52.6",
36863686 ]
36873687
36883688 [[package]]
@@ -4315,7 +4315,7 @@ dependencies = [ · 626 unmodified lines
43154315 "once_cell",
43164316 "socket2",
43174317 "tracing",
4318− "windows-sys 0.52.0",
4318+ "windows-sys 0.59.0",
43194319 ]
43204320
43214321 [[package]]
@@ -4546,7 +4546,7 @@ dependencies = [ · 224 unmodified lines
45464546 "errno",
45474547 "libc",
45484548 "linux-raw-sys 0.4.15",
4549− "windows-sys 0.52.0",
4549+ "windows-sys 0.59.0",
45504550 ]
45514551
45524552 [[package]]
@@ -4559,7 +4559,7 @@ dependencies = [ · 6 unmodified lines
45594559 "errno",
45604560 "libc",
45614561 "linux-raw-sys 0.9.3",
4562− "windows-sys 0.52.0",
4562+ "windows-sys 0.59.0",
45634563 ]
45644564
45654565 [[package]]
@@ -5104,7 +5104,7 @@ dependencies = [ · 538 unmodified lines
51045104 "getrandom 0.3.2",
51055105 "once_cell",
51065106 "rustix 1.0.7",
5107− "windows-sys 0.52.0",
5107+ "windows-sys 0.59.0",
51085108 ]
51095109
51105110 [[package]]
@@ -5722,7 +5722,7 @@ version = "0.1.9" · 611 unmodified lines
57225722 source = "registry+https://github.com/rust-lang/crates.io-index"
57235723 checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
57245724 dependencies = [
5725− "windows-sys 0.48.0",
5725+ "windows-sys 0.59.0",
57265726 ]
57275727
57285728 [[package]]
gix-archive/Cargo.toml+1−1
@@ -35,7 +35,7 @@ gix-date = { version = "^0.10.1", path = "../gix-date" } · 34 unmodified lines
3535
3636 flate2 = { version = "1.1.1", optional = true, default-features = false, features = ["zlib-rs"] }
3737 zip = { version = "2.6.1", optional = true, default-features = false, features = ["deflate"] }
38−jiff = { version = "0.2.10", default-features = false, features = ["std"] }
38+jiff = { version = "0.2.12", default-features = false, features = ["std"] }
3939
4040 thiserror = "2.0.0"
4141 bstr = { version = "1.12.0", default-features = false }
gix-date/Cargo.toml+1−1
@@ -22,7 +22,7 @@ serde = ["dep:serde", "bstr/serde"] · 21 unmodified lines
2222 bstr = { version = "1.12.0", default-features = false, features = ["std"] }
2323 serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
2424 itoa = "1.0.1"
25−jiff = "0.2.10"
25+jiff = "0.2.12"
2626 thiserror = "2.0.0"
2727 # TODO: used for quick and easy `TimeBacking: std::io::Write` implementation, but could make that `Copy`
2828 # and remove this dep with custom impl
gix-date/tests/time/parse.rs+1−0
@@ -330,6 +330,7 @@ mod fuzz { · 329 unmodified lines
330330 fn reproduce_1979() {
331331 gix_date::parse("fRi ", None).ok();
332332 }
333+
333334 #[test]
334335 fn invalid_but_does_not_cause_panic() {
335336 for input in ["-9999-1-1", "7 -𬞋", "5 ڜ-09", "-4 week ago Z", "8960609 day ago"] {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t