1
0
forked from aniani/vim

patch 8.2.4139: using freed memory in expression abbreviation

Problem:    Using freed memory if an expression abbreviation deletes the
            abbreviation.
Solution:   Do not access the pointer after evaluating the expression.
This commit is contained in:
Bram Moolenaar
2022-01-18 20:30:39 +00:00
parent ef7aadbe36
commit 94075b2b0e
3 changed files with 33 additions and 6 deletions

View File

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