mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 7.4.1968
Problem: Invalid memory access with "\<C-">. Solution: Do not recognize this as a special character. (Dominique Pelle)
This commit is contained in:
@@ -2741,8 +2741,10 @@ find_special_key(
|
||||
else
|
||||
#endif
|
||||
l = 1;
|
||||
if (bp[l + 1] == '>')
|
||||
bp += l; /* anything accepted, like <C-?> */
|
||||
/* Anything accepted, like <C-?>, except <C-">, because the "
|
||||
* ends the string. */
|
||||
if (bp[l] != '"' && bp[l + 1] == '>')
|
||||
bp += l;
|
||||
}
|
||||
}
|
||||
if (bp[0] == 't' && bp[1] == '_' && bp[2] && bp[3])
|
||||
|
Reference in New Issue
Block a user