diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-05-13 08:56:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-13 08:56:18 +0800 |
| commit | 3b3d3076f71b60f9c5c89f7f6879f0e67fc73f42 (patch) | |
| tree | d2e4f86bc64ae5074a51e35c9bff0acbf22d65b6 /test/functional/vimscript/executable_spec.lua | |
| parent | 228e6ca32a97bb13906a2b2cd7179d934ad5a65d (diff) | |
| download | rneovim-3b3d3076f71b60f9c5c89f7f6879f0e67fc73f42.tar.gz rneovim-3b3d3076f71b60f9c5c89f7f6879f0e67fc73f42.tar.bz2 rneovim-3b3d3076f71b60f9c5c89f7f6879f0e67fc73f42.zip | |
vim-patch:9.2.0476: pattern completion leaks memory on alloc failures (#39767)
Problem: copy_substring_from_pos() leaked on ga_grow() failures,
expand_pattern_in_buf() leaked "match" on ga_grow() failure,
fuzzy_match_str_with_pos() ignored ga_grow() failures
Solution: Route failures through cleanup paths, check ga_grow before
writing to ga_data (glepnir)
closes: vim/vim#20203
https://github.com/vim/vim/commit/38237411e4e202a96b0efe41567505331114bfa8
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions