neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 20a7e744441983906b3ff1c8562e05e32af50c32
parent 786c5fbdec79eed83b25856806d3613a69199dcf
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 16 Jan 2026 12:39:56 +0800

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 <cb@256bit.org>

Diffstat:
Mtest/old/testdir/test_crash.vim | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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!