1
0
forked from aniani/vim

patch 9.0.0579: using freed memory when 'tagfunc' wipes out buffer

Problem:    Using freed memory when 'tagfunc' wipes out buffer that holds
            'complete'.
Solution:   Make a copy of the option.  Make sure cursor position is valid.
This commit is contained in:
Bram Moolenaar
2022-09-24 19:20:30 +01:00
parent 865bf2ed30
commit 0ff01835a4
4 changed files with 52 additions and 11 deletions

View File

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