mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.2.4975: recursive command line loop may cause a crash (#18614)
Problem: Recursive command line loop may cause a crash.
Solution: Limit recursion of getcmdline().
51f0bfb88a
Cherry-pick e_command_too_recursive from patch 8.2.3957.
This commit is contained in:
@@ -877,7 +877,8 @@ EXTERN char e_api_spawn_failed[] INIT(= N_("E903: Could not spawn API job"));
|
||||
EXTERN char e_argreq[] INIT(= N_("E471: Argument required"));
|
||||
EXTERN char e_backslash[] INIT(= N_("E10: \\ should be followed by /, ? or &"));
|
||||
EXTERN char e_cmdwin[] INIT(= N_("E11: Invalid in command-line window; <CR> executes, CTRL-C quits"));
|
||||
EXTERN char e_curdir[] INIT(= N_( "E12: Command not allowed from exrc/vimrc in current dir or tag search"));
|
||||
EXTERN char e_curdir[] INIT(= N_("E12: Command not allowed from exrc/vimrc in current dir or tag search"));
|
||||
EXTERN char e_command_too_recursive[] INIT(= N_("E169: Command too recursive"));
|
||||
EXTERN char e_endif[] INIT(= N_("E171: Missing :endif"));
|
||||
EXTERN char e_endtry[] INIT(= N_("E600: Missing :endtry"));
|
||||
EXTERN char e_endwhile[] INIT(= N_("E170: Missing :endwhile"));
|
||||
|
Reference in New Issue
Block a user