1
0
forked from aniani/vim

patch 8.0.1429: crash when calling term_start() with empty argument

Problem:    Crash when calling term_start() with empty argument.
Solution:   Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
            Fix memory leak.
This commit is contained in:
Bram Moolenaar
2018-01-26 20:05:18 +01:00
parent 200ea8ffaa
commit ede35bbbd0
3 changed files with 33 additions and 11 deletions

View File

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