commit | bf1b7132021bac0fccefebb4a1c24a5f372bae4f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 27 21:13:12 2023 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 27 21:13:12 2023 +0100 |
tree | 01932a26a2c33f50237f29edda2e18d5e1316203 | |
parent | 4e1ca0d9a6c6d66987da67155e97f83f286ffbcc [diff] [blame] |
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)
diff --git a/src/version.c b/src/version.c index bc2c945..929308c 100644 --- a/src/version.c +++ b/src/version.c
@@ -696,6 +696,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1494, +/**/ 1493, /**/ 1492,