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

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 #8962)
This commit is contained in:
Bram Moolenaar
2021-10-10 12:35:17 +01:00
parent 6e77b88df6
commit eeed1c7ae0
4 changed files with 21 additions and 2 deletions

View File

@@ -664,3 +664,5 @@ EXTERN char e_blob_required_for_argument_nr[]
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"));