1
0
forked from aniani/vim

patch 8.1.2200: crash when memory allocation fails

Problem:    Crash when memory allocation fails.
Solution:   Check for NULL curwin and curbuf. (Christian Brabandt,
            closes #4839)
This commit is contained in:
Bram Moolenaar
2019-10-22 21:54:31 +02:00
parent a720be78d7
commit 1cac70953d
2 changed files with 12 additions and 2 deletions

View File

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