]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0697: [security]: heap-buffer-overflow in ins_typebuf v9.1.0697
authorChristian Brabandt <cb@256bit.org>
Sun, 25 Aug 2024 19:33:03 +0000 (21:33 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 25 Aug 2024 19:33:03 +0000 (21:33 +0200)
commit322ba9108612bead5eb7731ccb66763dec69ef1b
tree719540ebb6d96126934dedb746009c1cb98bde0f
parent663950d700f496c1db09307253e6b1b2a56140d5
patch 9.1.0697: [security]: heap-buffer-overflow in ins_typebuf

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

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/getchar.c
src/testdir/crash/heap_overflow3 [new file with mode: 0644]
src/testdir/test_crash.vim
src/version.c