diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-08-08 14:51:29 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-08-08 14:54:14 +0800 |
commit | 92186be428e84798ac6fa6c69ae575187a0d3da8 (patch) | |
tree | 3727bd684e89d18076077de1e085a12cc3bb3129 /runtime/lua/vim/_meta/vimfn.lua | |
parent | f35d5afbf1bae81896d4b959c7d99cf50e0c306f (diff) | |
download | rneovim-92186be428e84798ac6fa6c69ae575187a0d3da8.tar.gz rneovim-92186be428e84798ac6fa6c69ae575187a0d3da8.tar.bz2 rneovim-92186be428e84798ac6fa6c69ae575187a0d3da8.zip |
vim-patch:8.2.3476: renaming a buffer on startup may cause using freed memory
Problem: Renaming a buffer on startup may cause using freed memory.
Solution: Check if the buffer is used in a window. (closes vim/vim#8955)
https://github.com/vim/vim/commit/d3710cf01ef6ab1b2f233866ff01dab76686f642
Cherry-pick Test_echo_true_in_cmd() from Vim.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions