aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/keymap.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-07-25 07:00:11 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-07-25 07:07:43 +0800
commitba0e5b25bcaf307019b619db25bd19c78bb59846 (patch)
treeb80f1e2c6f53aa7d0002504fefe19806c8089cb9 /runtime/lua/vim/keymap.lua
parent63c84e4c1a0224b478c9e7ed48d483d0d749a540 (diff)
downloadrneovim-ba0e5b25bcaf307019b619db25bd19c78bb59846.tar.gz
rneovim-ba0e5b25bcaf307019b619db25bd19c78bb59846.tar.bz2
rneovim-ba0e5b25bcaf307019b619db25bd19c78bb59846.zip
vim-patch:9.2.0846: [security]: heap buffer overflow in set_sofo()
Problem: [security]: heap buffer overflow in set_sofo() (Yazan Balawneh) Solution: Reset sl_sal_first (Yasuhiro Matsumoto). A crafted spell file with an empty SN_SAL section before an SN_SOFO section reaches set_sofo() with sl_sal_first[] already set to -1 by set_sal_first(). The counting loop then under-counts colliding multi-byte "from" characters, allocates an undersized list and writes past its end. Github Security Advisory: https://github.com/vim/vim/security/advisories/GHSA-9jqx-hgpr-6v64 https://github.com/vim/vim/commit/05c41c922309c7a11b6ec2f124be66551c90d66a Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Diffstat (limited to 'runtime/lua/vim/keymap.lua')
0 files changed, 0 insertions, 0 deletions