]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0812: Coverity warns about dereferencing NULL ptr v9.1.0812
authorChristian Brabandt <cb@256bit.org>
Wed, 23 Oct 2024 19:32:31 +0000 (21:32 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 23 Oct 2024 19:32:31 +0000 (21:32 +0200)
commitd0809869d6445faecd323fb33dc271d8c74a94fb
treeee83936cc8bf2ff77a004b54a4df04bba01d122c
parent2f6efaccfd5c4e7df1f54ed0f41f329abbe05f60
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: #15914

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/version.c
src/window.c