diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-27 17:02:57 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-02-02 01:21:58 -0500 |
commit | 4d0ef9a6b92953eb06937c3f74001909bd071c86 (patch) | |
tree | 4a80a9d2984f2b97fdc60442dbca7b39e2dd05da /runtime/doc/manpages/ja/vimdiff-ja.1 | |
parent | 323f0488c24044971adf5180fed9f41d91a87b13 (diff) | |
download | rneovim-4d0ef9a6b92953eb06937c3f74001909bd071c86.tar.gz rneovim-4d0ef9a6b92953eb06937c3f74001909bd071c86.tar.bz2 rneovim-4d0ef9a6b92953eb06937c3f74001909bd071c86.zip |
coverity/13745: Argument cannot be negative: RI.
Problem : Argument cannot be negative @ 1165.
Diagnostic : Real issue.
Rationale : len can be assigned a negative value @ 1162;
len is passed as an unsigned argument @ 1165.
Resolution : Refactor variable's types:
- Use ftello instead of ftell to avoid using long.
- Assert ftello result is safely convertible to size_t.
- Introduce variable read_size to avoid using i (int).
Diffstat (limited to 'runtime/doc/manpages/ja/vimdiff-ja.1')
0 files changed, 0 insertions, 0 deletions