Mercurial > vim
view src/testdir/test10.ok @ 7062:6deb9d802fe4 v7.4.843
commit https://github.com/vim/vim/commit/d43f0951bca162d4491d57df9277b5dbc462944f
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 27 22:30:47 2015 +0200
patch 7.4.843
Problem: Still possible to go beyond the end of a string.
Solution: Check for NUL also in second string. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 27 Aug 2015 22:45:03 +0200 |
parents | bbf1fbbe4ab4 |
children |
line wrap: on
line source
start of testfile xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 2 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 3 xxxxxxxxxxAxxxxxxxxxxxxxxxxxxx line 4 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 5 xxxxxxxxxxxxxxxxxLINE 6, COL 19 line 6 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 8 NO COLUMN SPECIFIEDxxxxxxxxxxx line 9 AGAIN NO COLUMNxxxxxxxxxxxxxxx line 10 COL 1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 11 COL 2xxxxxxxxxxxxxxxxxxxxxxxxx line 12 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 13 xxxxxxxxCOL 10xxxxxxxxxxxxxxxx line 14 xVCOL 10xxxxxxxxxxxxxxxxxxxxxx line 15 Ixxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 16 xxxx. SPACE POINTERxxxxxxxxxxx line 17 xxxxx. DOT POINTERxxxxxxxxxxxx line 18 xxxxxx. DASH POINTERxxxxxxxxxx line 19 xxxxxxx. TAB-SPACE POINTERxxxx line 20 xxxxxxxx:cf Xerrorfile1xxxxxxx line 21 xxxxxxxx:cf Xerrorfile2xxxxxxx line 22 end of testfile