0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.0.1402: crash with nasty autocommand

Problem:    Crash with nasty autocommand. (gy741, Dominique Pelle)
Solution:   Check that the new current buffer isn't wiped out. (closes #2447)
This commit is contained in:
Bram Moolenaar
2017-12-18 12:37:55 +01:00
parent cb89c98c26
commit 9bca805ec4
3 changed files with 24 additions and 9 deletions

View File

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