From 20a7e744441983906b3ff1c8562e05e32af50c32 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 16 Jan 2026 12:39:56 +0800 Subject: [PATCH] vim-patch:9.1.1043: [security]: segfault in win_line() Problem: [security]: segfault in win_line() (fizz-is-on-the-way) Solution: Check that ScreenLines is not NULL Github Advisory: https://github.com/vim/vim/security/advisories/GHSA-j3g9-wg22-v955 https://github.com/vim/vim/commit/9d1bed5eccdbb46a26b8a484f5e9163c40e63919 Omit ex_redraw_crash: remove in patch 9.1.1110. Co-authored-by: Christian Brabandt --- test/old/testdir/test_crash.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/old/testdir/test_crash.vim b/test/old/testdir/test_crash.vim index f418912594..5d5b73e4bd 100644 --- a/test/old/testdir/test_crash.vim +++ b/test/old/testdir/test_crash.vim @@ -244,6 +244,12 @@ func Test_crash1_3() call term_sendkeys(buf, args) call TermWait(buf, 50) + let file = 'crash/ex_redraw_crash' + let cmn_args = "%s -u NONE -i NONE -n -m -X -Z -e -s -S %s -c ':qa!'" + let args = printf(cmn_args, vim, file) + call term_sendkeys(buf, args) + call TermWait(buf, 150) + " clean up exe buf .. "bw!" bw!