mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
clang/"null pointer dereference" #10864
This commit is contained in:

committed by
Justin M. Keyes

parent
a851090dec
commit
17f768ee9e
@@ -674,7 +674,8 @@ static int insert_execute(VimState *state, int key)
|
||||
// there is nothing to add, CTRL-L works like CTRL-P then.
|
||||
if (s->c == Ctrl_L
|
||||
&& (!CTRL_X_MODE_LINE_OR_EVAL(ctrl_x_mode)
|
||||
|| (compl_shown_match->cp_str != NULL
|
||||
|| (compl_shown_match != NULL
|
||||
&& compl_shown_match->cp_str != NULL
|
||||
&& (int)STRLEN(compl_shown_match->cp_str)
|
||||
> curwin->w_cursor.col - compl_col))) {
|
||||
ins_compl_addfrommatch();
|
||||
|
Reference in New Issue
Block a user