forked from aniani/vim
patch 8.0.0358: invalid memory access in C-indent code
Problem: Invalid memory access in C-indent code. Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492)
This commit is contained in:
@@ -8181,7 +8181,8 @@ in_cinkeys(
|
||||
{
|
||||
if (try_match && *look == keytyped)
|
||||
return TRUE;
|
||||
++look;
|
||||
if (*look != NUL)
|
||||
++look;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user