1
0
forked from aniani/vim

patch 9.0.1494: crash when recovering from corrupted swap file

Problem:    Crash when recovering from corrupted swap file.
Solution:   Bail out when the line index looks wrong. (closes #12276)
This commit is contained in:
Bram Moolenaar
2023-04-27 21:13:12 +01:00
parent 4e1ca0d9a6
commit bf1b713202
3 changed files with 46 additions and 12 deletions

View File

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