]> granicus.if.org Git - vim/commit
patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum v8.1.0048
authorBram Moolenaar <Bram@vim.org>
Tue, 12 Jun 2018 15:25:36 +0000 (17:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 12 Jun 2018 15:25:36 +0000 (17:25 +0200)
commit07ccf7ce7fb948fd4d080b817e9fbaea9e721dab
tree6cef28b8d62f60eb0c3b3b04e5925d6f60eea250
parent19834010889fc5bfa0f88b3ba83133dae6c0a35d
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)
src/charset.c
src/version.c