diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-08-08 09:44:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-08 09:44:54 +0800 |
| commit | 390e90bba4d19563048a41def859d95add667d27 (patch) | |
| tree | f96b15497cebd2df8d636ebeec7028de620360d4 /runtime/plugin/python_setup.vim | |
| parent | 5d5b8e3e7da3a094bf033ba355dcd54f0cb7cbc0 (diff) | |
| download | rneovim-390e90bba4d19563048a41def859d95add667d27.tar.gz rneovim-390e90bba4d19563048a41def859d95add667d27.tar.bz2 rneovim-390e90bba4d19563048a41def859d95add667d27.zip | |
vim-patch:9.2.0925: crash when getcompletiontype() gets a NULL string (#41231)
Problem: Crash when getcompletiontype()/getcompletion() gets a NULL string
(dvaave2025).
Solution: Do not write the NUL terminator in set_cmd_context() when the
cursor column is at or past the end of the string, since the
string may be a read-only literal.
fixes: vim/vim#20963
closes: vim/vim#20964
Supported by AI.
https://github.com/vim/vim/commit/e2dcefa0d8c03a7d2ebda67207e3d1392ae0c402
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/plugin/python_setup.vim')
0 files changed, 0 insertions, 0 deletions