diff options
author | Devon Gardner <devon@goosur.com> | 2024-10-11 23:43:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-12 07:43:07 +0800 |
commit | c49030b75ad8b8a9f8e7f023b0ee5f9c8c40afdd (patch) | |
tree | f48e9b47b81d0a546d5e1f8fabd7cd7557179f45 /src/nvim/lua/executor.c | |
parent | 555784612b2e3a34315058d3f9454283b6722b91 (diff) | |
download | rneovim-c49030b75ad8b8a9f8e7f023b0ee5f9c8c40afdd.tar.gz rneovim-c49030b75ad8b8a9f8e7f023b0ee5f9c8c40afdd.tar.bz2 rneovim-c49030b75ad8b8a9f8e7f023b0ee5f9c8c40afdd.zip |
fix(coverity/497375): f_strpart cast overflow (#30773)
Problem:
Casting long to int introduces risk of overflow.
Solution:
Work with all int64_t (long) rather than casting back and forth.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions