diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-14 15:15:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-14 15:15:43 +0800 |
commit | c96020b2bf671995a3c125d4db219fa1e9635a86 (patch) | |
tree | 42e1e7a00c4ac2a733636da3cb12d162048a0890 /test/functional/vimscript/msgpack_functions_spec.lua | |
parent | 5854103dad5a9ae513c089a514364eff55582fbb (diff) | |
download | rneovim-c96020b2bf671995a3c125d4db219fa1e9635a86.tar.gz rneovim-c96020b2bf671995a3c125d4db219fa1e9635a86.tar.bz2 rneovim-c96020b2bf671995a3c125d4db219fa1e9635a86.zip |
vim-patch:8.2.3675 (#19766)
vim-patch:8.2.3675: using freed memory when vim_strsave() fails
Problem: Using freed memory when vim_strsave() fails.
Solution: Clear "last_sourcing_name". Check for msg_source() called
recursively. (closes vim/vim#8217)
https://github.com/vim/vim/commit/ba8c92687d53c91bbc20c867a49e0988819ea2d5
Although xstrdup() cannot fail in Nvim, it may still be possible that an
error appears (e.g. in regexp engine) when printing the message.
Diffstat (limited to 'test/functional/vimscript/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions