vim-patch:7.4.816

Problem:    Invalid memory access when doing ":fun X(".
Solution:   Check for missing ')'. (Dominique Pelle)

dd8a5286e1
This commit is contained in:
Jurica Bradaric 2016-02-02 20:07:03 +01:00
parent 105f98fbf8
commit 3c0a082894
2 changed files with 5 additions and 2 deletions

View File

@ -19626,7 +19626,10 @@ void ex_function(exarg_T *eap)
break; break;
} }
} }
++p; /* skip the ')' */ if (*p != ')') {
goto erret;
}
++p; // skip the ')'
/* find extra arguments "range", "dict" and "abort" */ /* find extra arguments "range", "dict" and "abort" */
for (;; ) { for (;; ) {

View File

@ -472,7 +472,7 @@ static int included_patches[] = {
// 819, // 819,
// 818, // 818,
// 817, // 817,
// 816, 816,
815, 815,
814, 814,
813, 813,