diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-24 12:17:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-24 12:17:53 +0000 |
commit | 03725c5795ae5b8c14da4a39cd0ce723c6dd4304 (patch) | |
tree | 9e95a417b4ae557702cec2d36858cd45d4ef9000 /src/errors.h | |
parent | 48608b4a4bfab4b9c0c9199d57b7e876c56db74c (diff) |
patch 8.2.3659: integer overflow with large line numberv8.2.3659
Problem: Integer overflow with large line number.
Solution: Check for overflow. (closes #9202)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index cde98461ec..6346bf249a 100644 --- a/src/errors.h +++ b/src/errors.h @@ -688,3 +688,5 @@ EXTERN char e_cannot_expand_sfile_in_vim9_function[] INIT(= N_("E1245: Cannot expand <sfile> in a Vim9 function")); EXTERN char e_cannot_find_variable_to_unlock_str[] INIT(= N_("E1246: Cannot find variable to (un)lock: %s")); +EXTERN char e_line_number_out_of_range[] + INIT(= N_("E1247: Line number out of range")); |