]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1172: [security]: overflow with 'nostartofline' and Ex command in tag file v9.1.1172
authorzeertzjq <zeertzjq@outlook.com>
Wed, 5 Mar 2025 19:05:18 +0000 (20:05 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 5 Mar 2025 19:05:18 +0000 (20:05 +0100)
commit3ed6659549e447ff00def8edc841321e497f70a8
tree24377d15ab7b2f4b9a6aece44fbc88cba20f864b
parenta95085e0fc2e46c7136982e8ba1ae91375991bfd
patch 9.1.1172: [security]: overflow with 'nostartofline' and Ex command in tag file

Problem:  heap-buffer-overflow with 'nostartofline' and Ex command in
          tag file.
Solution: Set cursor column when moving cursor to line 1 (zeertzjq).

closes: #16796

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