1
0
forked from aniani/vim

patch 8.2.3476: renaming a buffer on startup may cause using freed memory

Problem:    Renaming a buffer on startup may cause using freed memory.
Solution:   Check if the buffer is used in a window. (closes #8955)
This commit is contained in:
Bram Moolenaar
2021-10-04 23:13:13 +01:00
parent 08d7b1c828
commit d3710cf01e
3 changed files with 27 additions and 1 deletions

View File

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