]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0254: [security]: Heap buffer overflow when calling complete_add() in ... v9.1.0254
authorzeertzjq <zeertzjq@outlook.com>
Tue, 2 Apr 2024 17:01:14 +0000 (19:01 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 2 Apr 2024 17:01:14 +0000 (19:01 +0200)
commit0a419e07a705675ac159218f42c1daa151d2ceea
tree43c75a9a601261ce0ffbf07062e6e07baa2b57f9
parent6c9f4f98f1cda3793406724a260cd651210a5d0d
patch 9.1.0254: [security]: Heap buffer overflow when calling complete_add() in 'cfu'

Problem:  [security]: Heap buffer overflow when calling complete_add()
          in the first call of 'completefunc'
Solution: Call check_cursor() after calling 'completefunc' (zeertzjq)

closes: #14391

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/testdir/test_ins_complete.vim
src/version.c