Mercurial > vim
comparison src/errors.h @ 31079:082f526cfb96 v9.0.0874
patch 9.0.0874: using freed memory when executing unmenu at more prompt
Commit: https://github.com/vim/vim/commit/920d311480114274e4d73156edf4b49ba0b712dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 13 21:10:02 2022 +0000
patch 9.0.0874: using freed memory when executing unmenu at more prompt
Problem: Using freed memory when executing unmenu at the more prompt.
Solution: Do not clear menus while listing them. (closes https://github.com/vim/vim/issues/11439)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Nov 2022 22:15:02 +0100 |
parents | 6a2b04cd0213 |
children | 8c10a0b22015 |
comparison
equal
deleted
inserted
replaced
31078:e8915196437c | 31079:082f526cfb96 |
---|---|
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[] | 3336 EXTERN char e_cannot_change_mappings_while_listing[] |
3337 INIT(= N_("E1309: Cannot change mappings while listing")); | 3337 INIT(= N_("E1309: Cannot change mappings while listing")); |
3338 #if defined(FEAT_MENU) | |
3339 EXTERN char e_cannot_change_menus_while_listing[] | |
3340 INIT(= N_("E1310: Cannot change menus while listing")); | |
3341 #endif |