From: Bram Moolenaar Date: Wed, 6 Aug 2014 10:49:18 +0000 (+0200) Subject: updated for version 7.4.390 X-Git-Tag: v7.4.390 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ece29e80131afdd4bb7aa74f62b98cf97f1090b5;p=thirdparty%2Fvim.git 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) --- diff --git a/src/misc1.c b/src/misc1.c index 3a834aa0cf..2c28aae84c 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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 == '"') { diff --git a/src/version.c b/src/version.c index d5aaa90500..d2de43f7ac 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 390, /**/ 389, /**/