]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2207: illegal memory access if popup menu items are changed v8.2.2207
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Dec 2020 17:39:02 +0000 (18:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Dec 2020 17:39:02 +0000 (18:39 +0100)
commit38455a921395a56690790c8c1d28c1c43ca04c8a
treed762d33f56f9375c80a61b1072382138e287413f
parent0261a1aeeb4ccec4ef75cc8e0685c78f5622dbf5
patch 8.2.2207: illegal memory access if popup menu items are changed

Problem:    Illegal memory access if popup menu items are changed while the
            menu is visible. (Tomáš Janoušek)
Solution:   Make a copy of the text. (closes #7537)
src/popupmenu.c
src/testdir/dumps/Test_popup_command_04.dump [new file with mode: 0644]
src/testdir/dumps/Test_popup_command_05.dump [new file with mode: 0644]
src/testdir/test_popup.vim
src/version.c