mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
vim-patch:8.0.1411: reading invalid memory with CTRL-W :
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes vim/vim#2469)
2efb323e87
This commit is contained in:
@@ -6528,6 +6528,8 @@ static void nv_window(cmdarg_T *cap)
|
||||
{
|
||||
if (cap->nchar == ':') {
|
||||
// "CTRL-W :" is the same as typing ":"; useful in a terminal window
|
||||
cap->cmdchar = ':';
|
||||
cap->nchar = NUL;
|
||||
nv_colon(cap);
|
||||
} else if (!checkclearop(cap->oap)) {
|
||||
do_window(cap->nchar, cap->count0, NUL); // everything is in window.c
|
||||
|
Reference in New Issue
Block a user