1
0
forked from aniani/vim

patch 8.2.4073: Coverity warns for using NULL pointer

Problem:    Coverity warns for using NULL pointer.
Solution:   Bail out when running out of memory. Check for running over end of
            a string.
This commit is contained in:
Bram Moolenaar
2022-01-13 12:05:09 +00:00
parent d041f4208b
commit 54598066ca
2 changed files with 6 additions and 4 deletions

View File

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