Mercurial > vim
comparison src/errors.h @ 31077:6a2b04cd0213 v9.0.0873
patch 9.0.0873: using freed memory when executing mapclear at more prompt
Commit: https://github.com/vim/vim/commit/bf533e4e88ebac8b8fec6d3e12dadc476ce9a1df
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 13 20:43:19 2022 +0000
patch 9.0.0873: using freed memory when executing mapclear at more prompt
Problem: Using freed memory when executing mapclear at the more prompt.
Solution: Do not clear mappings while listing them. (closes https://github.com/vim/vim/issues/11438)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Nov 2022 21:45:03 +0100 |
parents | 360f286b5869 |
children | 082f526cfb96 |
comparison
equal
deleted
inserted
replaced
31076:d6352b62935d | 31077:6a2b04cd0213 |
---|---|
3331 EXTERN char e_argument_nr_trying_to_modify_const_str[] | 3331 EXTERN char e_argument_nr_trying_to_modify_const_str[] |
3332 INIT(= N_("E1307: Argument %d: Trying to modify a const %s")); | 3332 INIT(= N_("E1307: Argument %d: Trying to modify a const %s")); |
3333 EXTERN char e_cannot_resize_window_in_another_tab_page[] | 3333 EXTERN char e_cannot_resize_window_in_another_tab_page[] |
3334 INIT(= N_("E1308: Cannot resize a window in another tab page")); | 3334 INIT(= N_("E1308: Cannot resize a window in another tab page")); |
3335 #endif | 3335 #endif |
3336 EXTERN char e_cannot_change_mappings_while_listing[] | |
3337 INIT(= N_("E1309: Cannot change mappings while listing")); |