1
0
forked from aniani/vim

patch 7.4.816

Problem:    Invalid memory access when doing ":fun X(".
Solution:   Check for missing ')'. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar 2015-08-11 15:54:52 +02:00
parent 73627d0bd4
commit dd8a5286e1
2 changed files with 4 additions and 0 deletions

View File

@ -22557,6 +22557,8 @@ ex_function(eap)
break;
}
}
if (*p != ')')
goto erret;
++p; /* skip the ')' */
/* find extra arguments "range", "dict" and "abort" */

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
816,
/**/
815,
/**/