| commit | 7c94ce910f07e0d76d66b46bccfe39a07d8e1f6d | [log] [tgz] |
|---|---|---|
| author | Bram Moolenaar <Bram@vim.org> | Mon Apr 13 14:45:27 2015 +0200 |
| committer | Bram Moolenaar <Bram@vim.org> | Mon Apr 13 14:45:27 2015 +0200 |
| tree | 70cff5bf8abb1250cd8921ce3d2762312bbcc402 | |
| parent | 83d1b19015219c7799af0a0d539ae86a41057240 [diff] |
patch 7.4.695
Problem: Out-of-bounds read, dectected by Coverity.
Solution: Remember the value of cmap for the first matching encoding. Reset
cmap to that value if first matching encoding is going to be used.
(Eliseo MartÃnez)