patch 7.4.816
Problem: Invalid memory access when doing ":fun X(".
Solution: Check for missing ')'. (Dominique Pelle)
diff --git a/src/eval.c b/src/eval.c
index cc9e878..9de2764 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -22557,6 +22557,8 @@
break;
}
}
+ if (*p != ')')
+ goto erret;
++p; /* skip the ')' */
/* find extra arguments "range", "dict" and "abort" */
diff --git a/src/version.c b/src/version.c
index fc27f41..e5f2b94 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 816,
+/**/
815,
/**/
814,