aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_stringbuffer.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-05-16 18:28:42 +0800
committerGitHub <noreply@github.com>2026-05-16 18:28:42 +0800
commitb92ca58d6911f4642a9caf0fa4c86e9c2e73fa69 (patch)
treea27680487c5bf8ed7b3f195406e265dfdfd18c3c /runtime/lua/vim/_stringbuffer.lua
parentb62c1049c09997c956f91e463361e3c21e3f52c6 (diff)
downloadrneovim-b92ca58d6911f4642a9caf0fa4c86e9c2e73fa69.tar.gz
rneovim-b92ca58d6911f4642a9caf0fa4c86e9c2e73fa69.tar.bz2
rneovim-b92ca58d6911f4642a9caf0fa4c86e9c2e73fa69.zip
vim-patch:9.2.0490: matchfuzzy() can crash on long multi-word patterns (#39809)
Problem: matchfuzzy() can crash on long multi-word patterns. Solution: Clamp pat_chars to maxMatches and stop before calling match_positions() when the buffer is full (glepnir). closes: vim/vim#20209 https://github.com/vim/vim/commit/88b00d1c57c8713ac5e7f2828c07e3c7da94ac79 Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions