commit | 54598066ca4cfaf0761aedf47e4ba9844674791e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 13 12:05:09 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 13 12:05:09 2022 +0000 |
tree | 3b200bd6b03d4ba4b4e1cc035599cad8142cdd82 | |
parent | d041f4208b0a2149e9d41f6443aa1c14c076a411 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 1209772..1b37a5d 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4073, +/**/ 4072, /**/ 4071,