1
0
forked from aniani/vim

patch 8.2.1945: crash when passing NULL function to reduce()

Problem:    Crash when passing NULL function to reduce().
Solution:   Check for NULL pointer and give an error. (Dominique Pellé,
            closes #7243)
This commit is contained in:
Bram Moolenaar
2020-11-03 18:20:19 +01:00
parent 6fd3a4ba23
commit 0d90e728fe
4 changed files with 12 additions and 2 deletions

View File

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