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)
diff --git a/src/errors.h b/src/errors.h
index fac3e26..63e2659 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -425,3 +425,5 @@
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"));