ZIm/crates/fuzzy/src
Lukas Wirth 69794db331
Prevent out of bounds access in recursive_score_match (#35630)
Closes https://github.com/zed-industries/zed/issues/33668

The recursive case increments both indices by 1, but only one of the two
had a base case check in the function prologue so the other could spill
over into a different matrix row or out of bounds entirely.

Lacking a test as I haven't figured out a test case yet.

Release Notes:

- Fixed out of bounds panic in fuzzy matching
2025-08-06 10:53:20 +02:00
..
char_bag.rs Introduce an outline panel (#12637) 2024-06-12 23:22:52 +03:00
fuzzy.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
matcher.rs Prevent out of bounds access in recursive_score_match (#35630) 2025-08-06 10:53:20 +02:00
paths.rs editor: Improve code completion filtering to provide fewer and more accurate suggestions (#32928) 2025-06-18 16:01:28 +05:30
strings.rs editor: Improve code completion filtering to provide fewer and more accurate suggestions (#32928) 2025-06-18 16:01:28 +05:30