1
0
forked from aniani/vim

patch 8.2.3675: using freed memory when vim_strsave() fails

Problem:    Using freed memory when vim_strsave() fails.
Solution:   Clear "last_sourcing_name".  Check for msg_source() called
            recursively. (closes #8217)
This commit is contained in:
Bram Moolenaar
2021-11-25 14:43:18 +00:00
parent 96e7a5928e
commit ba8c92687d
2 changed files with 12 additions and 4 deletions

View File

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