commit | 07ccf7ce7fb948fd4d080b817e9fbaea9e721dab | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jun 12 17:25:36 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jun 12 17:25:36 2018 +0200 |
tree | 6cef28b8d62f60eb0c3b3b04e5925d6f60eea250 | |
parent | 19834010889fc5bfa0f88b3ba83133dae6c0a35d [diff] [blame] |
patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum Problem: vim_str2nr() does not handle numbers close to the maximum. Solution: Check for overflow more precisely. (Ken Takata, closes #2746)
diff --git a/src/version.c b/src/version.c index d290fda..fc68f8e 100644 --- a/src/version.c +++ b/src/version.c
@@ -762,6 +762,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 48, +/**/ 47, /**/ 46,