0
0
mirror of https://github.com/vim/vim.git synced 2025-10-12 06:44:06 -04:00

patch 8.1.2197: ExitPre autocommand may cause accessing freed memory

Problem:    ExitPre autocommand may cause accessing freed memory.
Solution:   Check the window pointer is still valid. (closes #5093)
This commit is contained in:
Bram Moolenaar
2019-10-20 22:27:10 +02:00
parent d53ebfc624
commit 34ba06b6e6
3 changed files with 31 additions and 6 deletions

View File

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