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
..
2016-10-25 15:55:29 +02:00
2015-07-04 15:43:54 -04:00
2016-10-15 11:51:46 +09:00
2016-10-26 13:05:25 +02:00
2016-10-24 13:17:41 +02:00
2016-10-04 23:33:28 +09:00
2014-07-29 02:12:31 +00:00
2016-08-03 08:07:28 -04:00
2016-08-03 08:07:28 -04:00
2016-10-24 13:26:55 +02:00
2014-12-19 15:28:49 -05:00
2016-10-24 13:17:41 +02:00
2015-11-28 10:59:21 +01:00
2014-07-29 02:12:31 +00:00
2016-08-31 21:57:04 +02:00
2014-07-29 02:12:31 +00:00
2016-10-15 12:21:13 +09:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2014-07-29 02:12:31 +00:00
2016-04-16 23:06:24 -07:00
2014-12-19 15:28:49 -05:00
2014-07-29 02:12:31 +00:00
2016-10-13 00:22:23 +02:00
2014-07-29 02:12:31 +00:00
2016-10-15 12:15:36 +09:00
2016-10-04 23:34:28 +09:00
2016-10-04 23:14:47 +09:00