aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/ui.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-20 06:44:19 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-05-20 20:50:08 +0800
commit3383603c134944d374eb0814a2f707a7e3e89b43 (patch)
tree29d0642bb76baea119206c960a441242b09702c6 /runtime/lua/vim/ui.lua
parentd89144626e7429d9c499875ed426a6223f9013be (diff)
downloadrneovim-3383603c134944d374eb0814a2f707a7e3e89b43.tar.gz
rneovim-3383603c134944d374eb0814a2f707a7e3e89b43.tar.bz2
rneovim-3383603c134944d374eb0814a2f707a7e3e89b43.zip
vim-patch:9.1.0395: getregionpos() may leak memory on error
Problem: regionpos may leak memory on error, coverity complains about dereferencing Null pointer Solution: free all list pointers (after v9.1.394), return early if buflist_findnr() returns NULL closes: vim/vim#14731 https://github.com/vim/vim/commit/b8ecedce79149ac6b994177e9a68979f86065cb1 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/ui.lua')
0 files changed, 0 insertions, 0 deletions