diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-13 12:05:09 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-13 12:05:09 +0000 |
commit | 54598066ca4cfaf0761aedf47e4ba9844674791e (patch) | |
tree | 3b200bd6b03d4ba4b4e1cc035599cad8142cdd82 /src/version.c | |
parent | d041f4208b0a2149e9d41f6443aa1c14c076a411 (diff) | |
download | vim-git-54598066ca4cfaf0761aedf47e4ba9844674791e.tar.gz |
patch 8.2.4073: Coverity warns for using NULL pointerv8.2.4073
Problem: Coverity warns for using NULL pointer.
Solution: Bail out when running out of memory. Check for running over end of
a string.
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 12097729f..1b37a5d50 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4073, +/**/ 4072, /**/ 4071, |