diff options
author | Devon Gardner <devon@goosur.com> | 2024-10-06 03:21:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-06 11:21:26 +0800 |
commit | a2008118a0f22502d2f376ac31a97c4d70f960bc (patch) | |
tree | 749c6c34f4683734218c5a63aa4c5d161802e772 /runtime/lua/vim/_meta/api.lua | |
parent | dabd7ef906a2c142dd49afd30fa258ef33cbf57a (diff) | |
download | rneovim-a2008118a0f22502d2f376ac31a97c4d70f960bc.tar.gz rneovim-a2008118a0f22502d2f376ac31a97c4d70f960bc.tar.bz2 rneovim-a2008118a0f22502d2f376ac31a97c4d70f960bc.zip |
fix(coverity/510436): shada_read_when_writing index out of bounds (#30686)
Problem:
Index for global and numbered marks out of bounds when indexing into
numbered marks array (contains 10 elements but indexed by values 26 through 35.
Solution:
Offset index by number of global marks to correctly index numbered marks array.
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions