diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-24 06:39:15 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-10-24 06:56:12 +0800 |
commit | a0ad35e3bbb3eac12dae031ea8bea00feb92a8ca (patch) | |
tree | 27f83cd86cf5dba1bdb87e72090c05f9fe5b592d /runtime/lua/vim/lsp/util.lua | |
parent | 6b63fe798b7481edd8e3b0ed75a33bf297ca2856 (diff) | |
download | rneovim-a0ad35e3bbb3eac12dae031ea8bea00feb92a8ca.tar.gz rneovim-a0ad35e3bbb3eac12dae031ea8bea00feb92a8ca.tar.bz2 rneovim-a0ad35e3bbb3eac12dae031ea8bea00feb92a8ca.zip |
vim-patch:9.1.0812: Coverity warns about dereferencing NULL ptr
Problem: Coverity warns about dereferencing NULL ptr
in check_colorcolumn()
Solution: verify that wp is not null before accessing it
related: vim/vim#15914
https://github.com/vim/vim/commit/d0809869d6445faecd323fb33dc271d8c74a94fb
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions