Mercurial > vim
diff src/errors.h @ 31231:684e6dfa2fba v9.0.0949
patch 9.0.0949: crash when unletting a variable while listing variables
Commit: https://github.com/vim/vim/commit/ef2c325f5e3c437b722bb96bf369ba2a5c541163
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 25 16:31:51 2022 +0000
patch 9.0.0949: crash when unletting a variable while listing variables
Problem: Crash when unletting a variable while listing variables.
Solution: Disallow changing a hashtable while going over the entries.
(closes #11435)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 25 Nov 2022 17:45:04 +0100 |
parents | f6d4c6a3b41c |
children | 5acc0d2cf4f7 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -3343,3 +3343,5 @@ EXTERN char e_cannot_change_user_command INIT(= N_("E1311: Cannot change user commands while listing")); EXTERN char e_not_allowed_to_change_window_layout_in_this_autocmd[] INIT(= N_("E1312: Not allowed to change the window layout in this autocmd")); +EXTERN char e_not_allowed_to_add_or_remove_entries_str[] + INIT(= N_("E1313: Not allowed to add or remove entries (%s)"));