]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1818: possible crash when calculating topline in diff.c v9.1.1818
authorChristian Brabandt <cb@256bit.org>
Wed, 1 Oct 2025 21:25:40 +0000 (21:25 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 1 Oct 2025 22:16:09 +0000 (22:16 +0000)
commitd32b3bb7ebe29f856a054cfd552c68afabd065c3
tree83da230a2d1734eaed393386962b7209af202589
parent34959362b6eed61be0069878df6e4712409f25bf
patch 9.1.1818: possible crash when calculating topline in diff.c

Problem:  possible crash when calculating topline in diff.c
          (youngmith)
Solution: Check for pointer being Null before accessing it

fixes: #18437

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/diff.c
src/testdir/test_crash.vim
src/version.c