diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-31 14:44:18 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-02-11 19:10:36 +0100 |
commit | cf8e175cf54281bcad5e704308e92ebb3e6381d3 (patch) | |
tree | 892afd3e117f6fb0e3214c39217e811b95c3f01b /runtime/doc/manpages/ja | |
parent | 5976251bb91a7d3967cf268f0eeed1f5d756ba7a (diff) | |
download | rneovim-cf8e175cf54281bcad5e704308e92ebb3e6381d3.tar.gz rneovim-cf8e175cf54281bcad5e704308e92ebb3e6381d3.tar.bz2 rneovim-cf8e175cf54281bcad5e704308e92ebb3e6381d3.zip |
coverity/13762: Out-of-bounds read: RI.
Problem : Out-of-bounds read @ 2213.
Diagnostic : Real issue.
Rationale : Error occurs if cmap == ARRAY_SIZE(prt_ps_mbfonts),
but code takes the `if (prt_out_mbyte)` branch. That's it,
if a matching encoding is found but not a matching charset.
In that case, the first matching encoding is used.
Resolution : Remember the value of cmap for the first matching encoding.
Reset cmap to that value if first matching encoding is
going to be used.
Diffstat (limited to 'runtime/doc/manpages/ja')
0 files changed, 0 insertions, 0 deletions