aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-09-30 15:47:49 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-09-30 16:01:09 +0800
commitd6364a6e96da7d2bc748c12c9411ed561af8abda (patch)
treeeb39cc6f0f4bccb383eb7a08f07652fa8016ef67 /runtime/lua/vim/_ftplugin/lua.lua
parent982befb0064d1ef82b86fb0de48d7cbc63107728 (diff)
downloadrneovim-d6364a6e96da7d2bc748c12c9411ed561af8abda.tar.gz
rneovim-d6364a6e96da7d2bc748c12c9411ed561af8abda.tar.bz2
rneovim-d6364a6e96da7d2bc748c12c9411ed561af8abda.zip
vim-patch:9.2.1151: reading before the linemap array with inline:word diff
Problem: diff_refine_inline_word_highlight() checks the index of the line after the block, but uses the index of the last line of the block. A block with zero lines makes the index negative and causes heap-buffer underflow (Yuyao Jiang). Solution: Check that the indexes are not negative. related: vim/vim#21373 https://github.com/vim/vim/commit/f84ab19890c467fe2d1c001494e996178ece6e11 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions