]> granicus.if.org Git - vim/commit
patch 8.2.2422: crash when deleting with line number out of range v8.2.2422
authorBram Moolenaar <Bram@vim.org>
Thu, 28 Jan 2021 16:24:58 +0000 (17:24 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 28 Jan 2021 16:24:58 +0000 (17:24 +0100)
commit1d859e24218635c57c09801840ff159cb845ae6a
tree254578b6b2f1ec08b6e8afc8307bde89d91d691d
parent5ed58c7b700fcb9fd03c418300145b616f4bdcdd
patch 8.2.2422: crash when deleting with line number out of range

Problem:    Crash when deleting with line number out of range. (Houyunsong)
Solution:   Avoid using a negative line number.
src/normal.c
src/testdir/test_ex_mode.vim
src/version.c