commit | cdd09aa51a8d34bb384460af4f91026dbff5bf48 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 11 15:38:40 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 11 15:38:40 2018 +0100 |
tree | 8416a232117bb1557db7eff8b4bb48bd504a521c | |
parent | 71a43c01377cb0c5cdc5f2d9a357b5ef1aa69ee3 [diff] [blame] |
patch 8.0.1503: access memory beyond end of string Problem: Access memory beyond end of string. (Coverity) Solution: Keep allocated memory in separate pointer. Avoid outputting the NUL character.
diff --git a/src/version.c b/src/version.c index 62fd9ed..5c72d8d 100644 --- a/src/version.c +++ b/src/version.c
@@ -772,6 +772,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1503, +/**/ 1502, /**/ 1501,