1
0
forked from aniani/vim

patch 8.2.1749: Vim9: crash when closure fails in nested function

Problem:    Vim9: crash when closure fails in nested function.
Solution:   Handle function returns before dereferencing remaining closures.
            (closes #7008)
This commit is contained in:
Bram Moolenaar
2020-09-26 19:59:38 +02:00
parent f3c51bbff1
commit c70bdab0b8
3 changed files with 25 additions and 6 deletions

View File

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