1
0
forked from aniani/vim

patch 9.0.0614: SpellFileMissing autocmd may delete buffer

Problem:    SpellFileMissing autocmd may delete buffer.
Solution:   Disallow deleting the current buffer to avoid using freed memory.
This commit is contained in:
Bram Moolenaar
2022-09-28 11:48:30 +01:00
parent caa1d19da1
commit ef976323e7
4 changed files with 24 additions and 1 deletions

View File

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