forge
Explore
Log in

Don't you dare go Hollow

🐛 A damaged WAV header no longer panics a dev build inside symphonia; the mixed-rate exports and the vp9 stall check run in the heavy group

Browse files at this commit

262bf2f3aec5a361cc33ad94d1966de1c108a5f8Ahmet Kaan GümüşParent: 515940d
.config/nextest.tomlmodified+3 -2
@@ -7,12 +7,13 @@ slow-timeout = "60s"
77 # One failure must not hide the others.
88 fail-fast = false
99
10-# Full decode, export and render runs are the heavy ones: at most two at once.
10+# Full decode, export and render runs are the heavy ones: at most two at once. The
11+# mixed-rate exports and the vp9 stall check race their own deadlines, so they wait too.
1112 [test-groups.heavy]
1213 max-threads = 2
1314
1415 [[profile.default.overrides]]
15-filter = 'package(engine) and test(/export|decode|render/)'
16+filter = 'package(engine) and (test(/export|decode|render/) or binary(audio_mix_rates) or test(=vp9::a_refused_codec_at_a_span_advances_instead_of_stalling))'
1617 test-group = "heavy"
1718
1819 # The quick tier for edits in progress: `cargo nextest run -P fast`. It skips the slow
Cargo.tomlmodified+7 -0
@@ -25,6 +25,13 @@ edition = "2024"
2525 [profile.dev]
2626 debug = "line-tables-only"
2727
28+# symphonia's WAV reader multiplies a header's channel count by its sample size
29+# in u16 for a log line alone; a damaged header overflows it. Release wraps and
30+# carries on, so a dev build must not panic where a shipped one does not
31+# (media_fuzz damaged_media_never_panics_or_hangs).
32+[profile.dev.package.symphonia-format-riff]
33+overflow-checks = false
34+
2835 # Vendored third-party crate, patched for one clearly marked fix (see below).
2936 [patch.crates-io]
3037 # Drops the `pub use proc_macro;` re-export (E0365 future-incompat, rustc