]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1680: MS-Windows: possible buffer-under run in if_cscope v9.1.1680
authorChristian Brabandt <cb@256bit.org>
Sat, 23 Aug 2025 16:11:28 +0000 (18:11 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 23 Aug 2025 16:11:28 +0000 (18:11 +0200)
commit191d77872d8938fce28abaec061d4d6cde88cf48
tree04c8a2572a0933e3dbd45821bf6a291940d9e2b8
parentba9551d131d608b71155bacc0c4a65264f1f5f7c
patch 9.1.1680: MS-Windows: possible buffer-under run in if_cscope

Problem:  MS-Windows: possible buffer-under run in if_cscope
          cs_pathcomponents() (Murali Aniruddhan)
Solution: Fix the loop and do not decrement the pointer twice.

closes: #18091

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/if_cscope.c
src/version.c