mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-19 02:15:10 +02:00
In some test data for rinja, they check some parsing corner cases. Unfortunately for us, also hit a performance corner case. The entire file was a valid email username but without an `@`. This mean for every byte, we checked that every byte after it was a valid username but then backtracked at the end, repeating this until the whole file was read. Fixes #1088