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:
@@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3476,
|
||||
/**/
|
||||
3475,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user