aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/manpages/ja/vimtutor-ja.1
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2015-02-13 14:34:27 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2015-02-20 17:34:07 +0100
commit33cecbbf1667cd34324e6c6e7049ede1dbff426e (patch)
tree1b2a2502df9d50938c6d398b16bc6bcaf3fc5c0b /runtime/doc/manpages/ja/vimtutor-ja.1
parent03dd2114a78f513c362ccc5ec4de700f11a2db0e (diff)
downloadrneovim-33cecbbf1667cd34324e6c6e7049ede1dbff426e.tar.gz
rneovim-33cecbbf1667cd34324e6c6e7049ede1dbff426e.tar.bz2
rneovim-33cecbbf1667cd34324e6c6e7049ede1dbff426e.zip
coverity/72768: Negative array index read: FP.
Problem : Negative array index read @ 5674. Diagnostic : False positive. Rationale : Problem occurs if for loop does not find any match, which implies shl->lnum == 0, and then we enter the `if (shl->lnum == lnum)` branch, which implies lnum == 0 as well. That's not possible, as function should not be called with lnum == 0. Resolution : Change conditions `shl->lnum == lnum` into `bot != -1`.
Diffstat (limited to 'runtime/doc/manpages/ja/vimtutor-ja.1')
0 files changed, 0 insertions, 0 deletions