diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-01-22 21:59:54 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-01-23 15:49:37 +0100 |
commit | 6be8ea07872ac8badd3645a51017c32b0b90d59e (patch) | |
tree | c5dfe65972d33e0d65deb5daaf291eb9be35d63c /src/clint.py | |
parent | 73da522d73c5d686c122ea4482d03e576a6a242c (diff) | |
download | rneovim-6be8ea07872ac8badd3645a51017c32b0b90d59e.tar.gz rneovim-6be8ea07872ac8badd3645a51017c32b0b90d59e.tar.bz2 rneovim-6be8ea07872ac8badd3645a51017c32b0b90d59e.zip |
coverity/133845: Negative array index read. (FP)
`find_command(s->ca.cmdchar) >= 0` was established near the start of
normal_execute(). And `unshift_special(&s->ca);` "should" not ever
result in s->ca.cmdchar containing a multibyte char.
So only an assert() is needed here.
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions