From: Bram Moolenaar Date: Thu, 15 Sep 2022 11:20:18 +0000 (+0100) Subject: patch 9.0.0468: exectution stack underflow without the +eval feature X-Git-Tag: v9.0.0468 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aeef1f7f6d8f6d4e84ffc9a24874f10403e4ddcd;p=vim patch 9.0.0468: exectution stack underflow without the +eval feature Problem: Exectution stack underflow without the +eval feature. (Dominique Pellé) Solution: Add to execution stack without FEAT_EVAL. (closes #11135) --- diff --git a/src/scriptfile.c b/src/scriptfile.c index 34683262a..bdb792236 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 643195792..82a21df03 100644 --- a/src/version.c +++ b/src/version.c @@ -703,6 +703,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 468, /**/ 467, /**/