summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-10-10 12:35:17 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-10 12:35:17 +0100
commiteeed1c7ae090c17f4df51cf97b2a9e4d8b4f4dc7 (patch)
tree15c5bc0f2c667d4afaec3a2ae224165e11d059b1 /src/errors.h
parent6e77b88df6371356cce9d6e08daf0f7cb1e7878a (diff)
patch 8.2.3492: crash when pasting too many timesv8.2.3492
Problem: Crash when pasting too many times. Solution: Limit the size to what fits in an int. (closes #8962)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index a8ea33d170..4cc50e42c1 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -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"));