1
0
forked from aniani/vim

patch 9.1.1023: Coverity complains about dereferencing NULL pointer

Problem:  Coverity complains about dereferencing NULL pointer
Solution: Verify curdiff is not null before dereferencing it

closes: #16437

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-01-16 19:06:57 +01:00
parent 9162e636b3
commit a9f77be922
2 changed files with 7 additions and 2 deletions

View File

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