neovim/runtime
Florian Larysch 2a6c5bb0c4 modeline: Handle version number overflow. #5450
Closes #5449

A file containing the string "vim" followed by a very large number in a modeline
location will trigger an overflow in getdigits() which is called by
chk_modeline() when trying to parse the version number.

Add getdigits_safe(), which does not assert overflows, but reports them to the
caller.
2016-10-26 13:05:25 +02:00
..
autoload CheckHealth: more checks 2016-10-25 15:55:29 +02:00
colors Remove VisualNOS highlight group remnants 2015-07-04 15:43:54 -04:00
compiler vim-patch:0648142 2016-10-15 11:51:46 +09:00
doc modeline: Handle version number overflow. #5450 2016-10-26 13:05:25 +02:00
ftplugin Merge #5483 from Shougo/vim-0648142 2016-10-24 13:17:41 +02:00
indent vim-patch:939a1ab 2016-10-04 23:33:28 +09:00
keymap re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
macros vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
pack/dist/opt vim-patch:7.4.1673 (#5141) 2016-08-03 08:07:28 -04:00
plugin doc; vim-patch.sh 2016-10-24 13:26:55 +02:00
print Remove dec-mcs remnants 2014-12-19 15:28:49 -05:00
syntax Merge #5483 from Shougo/vim-0648142 2016-10-24 13:17:41 +02:00
tutor tutor: Update vim-tutor to 0.2.1 2015-11-28 10:59:21 +01:00
bugreport.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
CMakeLists.txt eval: use gperf to generate the hash of builtin functions 2016-08-31 21:57:04 +02:00
delmenu.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
filetype.vim vim-patch:269f595 2016-10-15 12:21:13 +09:00
ftoff.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ftplugin.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ftplugof.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
indent.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
indoff.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
macmap.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
makemenu.vim vim-patch:fc39ec 2016-04-16 23:06:24 -07:00
menu.vim Remove Amiga remnants 2014-12-19 15:28:49 -05:00
mswin.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
optwin.vim Merge #5427 from Shougo/vim-7.4.1714 2016-10-13 00:22:23 +02:00
rgb.txt re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
scripts.vim vim-patch:2685212 2016-10-15 12:15:36 +09:00
synmenu.vim vim-patch:0c1ff16 2016-10-04 23:34:28 +09:00
vimrc_example.vim vim-patch:7.4.1714 2016-10-04 23:14:47 +09:00