mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-26 11:07:54 -06:00
Path data like "M0 0 L10 0 Z9" repeated Z implicitly for the stray number; Z consumes no numbers, so the parser looped forever appending close-paths until memory ran out (a 1-byte change to a valid SVG used 24 GB and was killed). A number after Z is a syntax error, so parsing now stops there and keeps what was read, as the spec asks. Also denies the panic lints in the crate (it had no panic sites). 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
|