0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.1477: crash when recovering from corrupted swap file

Problem:    Crash when recovering from corrupted swap file.
Solution:   Check for a valid page count. (closes #12275)
This commit is contained in:
Bram Moolenaar
2023-04-22 21:14:26 +01:00
parent e7f05a8780
commit b67ba03d3e
5 changed files with 41 additions and 12 deletions

View File

@@ -3459,3 +3459,5 @@ EXTERN char e_cannot_use_non_null_object[]
EXTERN char e_incomplete_type[]
INIT(= N_("E1363: Incomplete type"));
#endif
EXTERN char e_warning_pointer_block_corrupted[]
INIT(= N_("E1364: Warning: Pointer block corrupted"));