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

patch 8.2.2977: crash when using a null function reference

Problem:    Crash when using a null function reference. (Naohiro Ono)
Solution:   Check for an invalid function name. (closes #8367)
This commit is contained in:
Bram Moolenaar
2021-06-12 12:16:55 +02:00
parent 8de901e1f1
commit 22db0d549f
4 changed files with 15 additions and 1 deletions

View File

@@ -425,3 +425,5 @@ EXTERN char e_nr_arguments_too_few[]
INIT(= N_("E1190: %d arguments too few"));
EXTERN char e_call_to_function_that_failed_to_compile_str[]
INIT(= N_("E1191: Call to function that failed to compile: %s"));
EXTERN char e_empty_function_name[]
INIT(= N_("E1192: Empty function name"));