Mercurial > vim
view src/testdir/test30.ok @ 6745:7f9a158cf1d9 v7.4.695
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 13 Apr 2015 14:45:27 +0200 |
parents | 050e6df85f99 |
children |
line wrap: on
line source
unix unix dos dos END mac mac END 1 unix unix END dos dos END mac mac END 2 unix unix END dos dos END mac mac END 3 unix unix dos dos mac mac END unix unix dos dos mac mac END unix unix dos dos mac mac END 4 unix unix dos dos mac mac END unix unix mac mac END dos dos mac mac END 5 unix unix dos dos END unix unix dos dos mac mac END dos dos mac mac END unix,mac:unix noeol END 6 unix unix dos dos END dos,mac:dos unix unix mac mac END unix unix dos dos mac mac END dos,mac:mac mac mac noeol END 7 unix unix dos dos mac mac END unix,dos,mac:unix noeol END 8 unix unix dos dos mac mac END mac,dos,unix:mac noeol END 9 unix unix dos dos mac mac END unix unix dos dos mac mac END unix unix dos dos mac mac END 10 unix unix