mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
vim-patch:8.1.0426: accessing invalid memory in SmcOpenConnection()
Problem: Accessing invalid memory in SmcOpenConnection().
Solution: Reduce size of errorstring by one. (Dominique Pelle, closes vim/vim#3469)
4841a7ccae
This commit is contained in:
@@ -274,7 +274,7 @@ endfunc
|
|||||||
" Test the -V[N]{filename} argument to set the 'verbose' option to N
|
" Test the -V[N]{filename} argument to set the 'verbose' option to N
|
||||||
" and set 'verbosefile' to filename.
|
" and set 'verbosefile' to filename.
|
||||||
func Test_V_file_arg()
|
func Test_V_file_arg()
|
||||||
if RunVim([], [], ' --clean -X -V2Xverbosefile -c "set verbose? verbosefile?" -cq')
|
if RunVim([], [], ' --clean -V2Xverbosefile -c "set verbose? verbosefile?" -cq')
|
||||||
let out = join(readfile('Xverbosefile'), "\n")
|
let out = join(readfile('Xverbosefile'), "\n")
|
||||||
" call assert_match("sourcing \"$VIMRUNTIME[\\/]defaults\.vim\"\n", out)
|
" call assert_match("sourcing \"$VIMRUNTIME[\\/]defaults\.vim\"\n", out)
|
||||||
call assert_match("\n verbose=2\n", out)
|
call assert_match("\n verbose=2\n", out)
|
||||||
|
Reference in New Issue
Block a user