commit | 64c8ed366de995a01ca1a072a6943ede0d7bb932 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Mar 20 21:18:34 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Mar 20 21:18:34 2019 +0100 |
tree | d39c1a936af2e2e4fc2e296fd7e179276e2a661e | |
parent | 697005f2cf0b41b22a673a67401a2c4d974e72d4 [diff] [blame] |
patch 8.1.1025: checking NULL pointer after addition Problem: Checking NULL pointer after addition. (Coverity) Solution: First check for NULL, then add the column.
diff --git a/src/version.c b/src/version.c index 2515a25..e7f3bf3 100644 --- a/src/version.c +++ b/src/version.c
@@ -780,6 +780,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1025, +/**/ 1024, /**/ 1023,