diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-12-10 13:38:35 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-12-10 14:29:24 +0800 |
commit | ac230370f3de2925b3ca9443e8d52d7fc4311aba (patch) | |
tree | 89227b85319424c955be8fa9f2b3466eee46e8db /scripts/lintcommit.lua | |
parent | 2336389d236f3d80575a5139e92c551c005b0eff (diff) | |
download | rneovim-ac230370f3de2925b3ca9443e8d52d7fc4311aba.tar.gz rneovim-ac230370f3de2925b3ca9443e8d52d7fc4311aba.tar.bz2 rneovim-ac230370f3de2925b3ca9443e8d52d7fc4311aba.zip |
vim-patch:9.0.2113: Coverity warns for another overflow in shift_line()
Problem: Coverity warns for another overflow in shift_line()
Solution: Test for INT_MAX after the if condition, cast integer values
to (long long) before multiplying.
https://github.com/vim/vim/commit/22a97fc241361aa91bda84e5344d5b7c0cda3e81
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions