view src/testdir/test48.ok @ 12940:5045d3076db0 v8.0.1346

patch 8.0.1346: crash when passing 50 char string to balloon_split() commit https://github.com/vim/vim/commit/a3571ebef5a2969d16e3e202ec4bca8858aca6ba Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 26 16:53:16 2017 +0100 patch 8.0.1346: crash when passing 50 char string to balloon_split() Problem: Crash when passing 50 char string to balloon_split(). Solution: Fix off-by-one error.
author Christian Brabandt <cb@256bit.org>
date Sun, 26 Nov 2017 17:00:07 +0100
parents 9dc52b404c1b
children
line wrap: on
line source

, foo
keyword keyword
all your base 
are belong to vim
1 2 3 4 5 7
'i'   <-- should be 3 ' '
'C'   <-- should be 3 ' '
'a'    <-- should be 4 ' '
'A'<-- should be 0 ' '
'D'   <-- 'D' should be intact
this is a test
this is a test
this is a test
"r"    x<-- should be 'x'
"r"  x  <-- should be '  x  '
[This line should contain only the text between the brackets.]
   v   i   m   <-- should show the name of a noted text editor
    6   .   0   <-- and its version number

a
a
a