]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1410: out-of-bounds access with 'completefunc' v9.1.1410
authorGirish Palya <girishji@gmail.com>
Mon, 26 May 2025 17:41:59 +0000 (19:41 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 26 May 2025 17:41:59 +0000 (19:41 +0200)
commit7c621052c3f180c1ef70fb7abfdad18245f47fcc
tree088998e3d7248347090ea51127e3e1cd117f36b7
parent14f6da5ba8d602263fc7bf6cb899c8520f4c3060
patch 9.1.1410: out-of-bounds access with 'completefunc'

Problem:  out-of-bounds access with 'completefunc' (csetc)
Solution: check if it is safe to advance cpt_sources_index
          (Girish Palya)

fixes: #17363
closes: #17374

Co-authored-by: @csetc
Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/insexpand.c
src/testdir/test_ins_complete.vim
src/version.c