Files
kitty/kitty_tests
Wukuyon 65890de60d Fix UTF-8 overlong and special range checks in simd-string-impl.h
Modified `start_classification` in `utf8_decode_to_esc` in `simd-string-impl.h`, which now:

Rejects `0xC0`, `0xC1` and `0xF5..0xFF` lead bytes in UTF-8 subsequences.

Enforces special ranges for the second subsequence bytes after `0xE0`, `0xED`, `0xF0` and `0xF4` bytes to prevent overlong sequences, surrogates, and code points above U+10FFFF.

Accumulates UTF-8 validation errors in a single vector to avoid many conditional branches.

Worsens unicode benchmark performance by about 4%.
2025-10-23 22:37:33 -06:00
..
...
2025-10-15 08:09:29 +05:30
2025-07-20 21:45:36 +05:30
2025-08-11 00:47:02 +05:30
2023-12-01 18:16:22 +05:30
2023-11-11 08:32:05 +05:30
2025-10-22 13:21:53 +05:30
2023-11-11 08:32:05 +05:30
...
2025-05-03 10:47:03 +05:30
2023-11-11 08:32:05 +05:30