Mercurial > vim
diff src/errors.h @ 25917:79a5c8238a5d v8.2.3492
patch 8.2.3492: crash when pasting too many times
Commit: https://github.com/vim/vim/commit/eeed1c7ae090c17f4df51cf97b2a9e4d8b4f4dc7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 10 12:35:17 2021 +0100
patch 8.2.3492: crash when pasting too many times
Problem: Crash when pasting too many times.
Solution: Limit the size to what fits in an int. (closes https://github.com/vim/vim/issues/8962)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Oct 2021 13:45:04 +0200 |
parents | 8d55e978f95b |
children | 377a7686a52f |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -664,3 +664,5 @@ EXTERN char e_blob_required_for_argument INIT(= N_("E1238: Blob required for argument %d")); EXTERN char e_invalid_value_for_blob_nr[] INIT(= N_("E1239: Invalid value for blob: %d")); +EXTERN char e_resulting_text_too_long[] + INIT(= N_("E1240: Resulting text too long"));