diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-14 09:42:36 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-01-14 13:56:01 +0800 |
| commit | 6fa2ebec6b244eea8dde01ca72deeebd4546e537 (patch) | |
| tree | 183bf9bc0ab30026245f12313b2cc5b2d8a804c9 /test/functional/vimscript/executable_spec.lua | |
| parent | 328640aed0ff43680e0d58a045ec3eca83f04571 (diff) | |
| download | rneovim-6fa2ebec6b244eea8dde01ca72deeebd4546e537.tar.gz rneovim-6fa2ebec6b244eea8dde01ca72deeebd4546e537.tar.bz2 rneovim-6fa2ebec6b244eea8dde01ca72deeebd4546e537.zip | |
vim-patch:9.1.2023: [security]: Use-after-free in alist_add() with nasty autocmd
Problem: A BufAdd autocommand may cause alist_add() to use freed
memory, this is caused by the w_locked variable unset too
early (henices)
Solution: in trigger_undo_ftplugin() only set w_locked to false, if it
was false when calling the function.
related: v9.1.0678
closes: vim/vim#19023
https://github.com/vim/vim/commit/9266a2a19790dd3485b1dd32b3e27ba1d93e33d0
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions