aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/modeline_spec.lua
Commit message (Collapse)AuthorAge
* modeline: Handle version number overflow. #5450Florian Larysch2016-10-26
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.