summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-11-03 18:20:19 +0100
committerBram Moolenaar <Bram@vim.org>2020-11-03 18:20:19 +0100
commit0d90e728fe089ff1bb34d6a17f5591a96b57f734 (patch)
treec4e8d1b172ee4660250ab06fa1d9781553e7f1c7 /src/errors.h
parent6fd3a4ba2320c4a95f02daef5f2ac76d3105d013 (diff)
downloadvim-git-8.2.1945.tar.gz
patch 8.2.1945: crash when passing NULL function to reduce()v8.2.1945
Problem: Crash when passing NULL function to reduce(). Solution: Check for NULL pointer and give an error. (Dominique Pellé, closes #7243)
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 1843f3d6f..0e0377a0e 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -286,4 +286,6 @@ EXTERN char e_cannot_add_to_null_list[]
INIT(= N_("E1130: Cannot add to null list"));
EXTERN char e_cannot_add_to_null_blob[]
INIT(= N_("E1131: Cannot add to null blob"));
+EXTERN char e_missing_function_argument[]
+ INIT(= N_("E1132: Missing function argument"));
#endif