Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | modeline: Handle version number overflow. #5450 | Florian Larysch | 2016-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. |