changeset 21116:9b57c92991c6 v8.2.1109

patch 8.2.1109: still crashing when using s:variable Commit: https://github.com/vim/vim/commit/086eb18ba16164ca5258068cff9c4b2db742f2ef Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 1 16:00:44 2020 +0200 patch 8.2.1109: still crashing when using s:variable Problem: Still crashing when using s:variable. Solution: Remove assignment. (Ken Takata)
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Jul 2020 16:15:03 +0200
parents 16f6b66cba21
children 0aa8873aa305
files src/version.c src/vim9compile.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1109,
+/**/
     1108,
 /**/
     1107,
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2336,7 +2336,7 @@ get_script_item_idx(int sid, char_u *nam
     imported_T *
 find_imported(char_u *name, size_t len, cctx_T *cctx)
 {
-    scriptitem_T    *si = SCRIPT_ITEM(current_sctx.sc_sid);
+    scriptitem_T    *si;
     int		    idx;
 
     if (current_sctx.sc_sid <= 0)