1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2021-01-28 17:24:58 +01:00
parent 5ed58c7b70
commit 1d859e2421
3 changed files with 23 additions and 1 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2422,
/**/
2421,
/**/