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