forked from aniani/vim
patch 8.0.1411: reading invalid memory with CTRL-W :
Problem: Reading invalid memory with CTRL-W :. Solution: Correct the command characters. (closes #2469)
This commit is contained in:
@@ -467,4 +467,9 @@ func Test_window_contents()
|
||||
call test_garbagecollect_now()
|
||||
endfunc
|
||||
|
||||
func Test_window_colon_command()
|
||||
" This was reading invalid memory.
|
||||
exe "norm! v\<C-W>:\<C-U>echo v:version"
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
||||
Reference in New Issue
Block a user