vim-patch:9.1.0697: [security]: heap-buffer-overflow in ins_typebuf (#37372)

Problem:  heap-buffer-overflow in ins_typebuf
          (SuyueGuo)
Solution: When flushing the typeahead buffer, validate that there
          is enough space left

Github Advisory:
https://github.com/vim/vim/security/advisories/GHSA-4ghr-c62x-cqfh

322ba91086

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jan Edmund Lazo
2026-01-15 00:35:21 -05:00
committed by GitHub
parent 86c939ba91
commit 5042394241
3 changed files with 17 additions and 3 deletions

View File

@@ -83,6 +83,7 @@ src/terminal.c
src/termlib.c
src/testdir/Make_amiga.mak
src/testdir/Make_dos.mak
src/testdir/crash/heap_overflow3
src/testdir/keycode_check.vim
src/testdir/lsan-suppress.txt
src/testdir/samples/crypt_sodium_invalid.txt