mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-31 13:37:37 -06:00
Lottie stores line cap, line join, merge mode and some text-selector enums 1-based, and the importer subtracted 1 from whatever number the file held: -1e308 (rounded to i64::MIN) overflowed, a panic in debug builds (found by structural fuzzing). Use saturating_sub. Denies the panic lints in the crate. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
125 B
TOML
5 lines
125 B
TOML
allow-unwrap-in-tests = true
|
|
allow-expect-in-tests = true
|
|
allow-panic-in-tests = true
|
|
allow-indexing-slicing-in-tests = true
|