mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
updated for version 7.4.390
Problem: Advancing pointer over end of a string. Solution: Init quote character to -1 instead of zero. (Dominique Pelle)
This commit is contained in:
parent
4e067c898e
commit
ece29e8013
@ -5503,7 +5503,7 @@ cin_has_js_key(text)
|
||||
char_u *text;
|
||||
{
|
||||
char_u *s = skipwhite(text);
|
||||
int quote = 0;
|
||||
int quote = -1;
|
||||
|
||||
if (*s == '\'' || *s == '"')
|
||||
{
|
||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
390,
|
||||
/**/
|
||||
389,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user