summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-15 12:20:18 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-15 12:20:18 +0100
commitaeef1f7f6d8f6d4e84ffc9a24874f10403e4ddcd (patch)
treeee79e32e2a5810a925e4184c05a15c2255a4bfa3
parentd3922afbd6f56e82c7b5fd7a7ebc0769e416cae8 (diff)
patch 9.0.0468: exectution stack underflow without the +eval featurev9.0.0468
Problem: Exectution stack underflow without the +eval feature. (Dominique Pellé) Solution: Add to execution stack without FEAT_EVAL. (closes #11135)
-rw-r--r--src/scriptfile.c3
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c
index 34683262a5..bdb7922363 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -1639,6 +1639,9 @@ do_source_ext(
}
}
# endif
+#else
+ // Keep the sourcing name/lnum, for recursive calls.
+ estack_push(ETYPE_SCRIPT, fname_exp, 0);
#endif
cookie.conv.vc_type = CONV_NONE; // no conversion
diff --git a/src/version.c b/src/version.c
index 6431957926..82a21df039 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 468,
+/**/
467,
/**/
466,