patch 8.2.2887: crash when passing null string to fullcommand()

Problem:    Crash when passing null string to fullcommand().
Solution:   Check for NULL pointer. (closes #8256)
This commit is contained in:
Bram Moolenaar
2021-05-26 19:49:09 +02:00
parent 34fcb69724
commit 4c8e8c6e19
3 changed files with 9 additions and 3 deletions

View File

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