mirror of
https://github.com/neovim/neovim.git
synced 2026-01-22 13:12:54 +10:00
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.
541 B
541 B