mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1945: crash when passing NULL function to reduce()
Problem: Crash when passing NULL function to reduce(). Solution: Check for NULL pointer and give an error. (Dominique Pellé, closes #7243)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user