diff options
author | Devon Gardner <devon@goosur.com> | 2024-09-19 08:33:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-19 01:33:40 -0700 |
commit | 0fe4362e216e659e5236cf49beba0e10cce0579d (patch) | |
tree | 6beab0fb0efded9ea8e472e42259fe452d5e02cb /runtime/lua/vim/_meta/options.lua | |
parent | 0ba388847417b8aed469976acf94f9633cb03f15 (diff) | |
download | rneovim-0fe4362e216e659e5236cf49beba0e10cce0579d.tar.gz rneovim-0fe4362e216e659e5236cf49beba0e10cce0579d.tar.bz2 rneovim-0fe4362e216e659e5236cf49beba0e10cce0579d.zip |
fix(coverity/509227/509228): tui driver_ti underflow #30341
Problem:
write() can return -1 but is cast to unsigned type causing coverity
to detect possible overflowed integer
Solution:
Perform check to ensure all negative values are captured rather than
just -1 before casting to unsigned type
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
0 files changed, 0 insertions, 0 deletions