1
0
forked from aniani/vim

patch 8.2.0087: crash in command line expansion when out of memory

Problem:    Crash in command line expansion when out of memory.
Solution:   Check for NULL pointer.  Also make ExpandGeneric() static.
            (Dominique Pelle, closes #5437)
This commit is contained in:
Bram Moolenaar
2020-01-05 14:38:40 +01:00
parent ab782c5b6f
commit 61d7c0d52c
3 changed files with 16 additions and 5 deletions

View File

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