]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.0371: crash with combination of terminal popup and autocmd v8.2.0371
authorBram Moolenaar <Bram@vim.org>
Wed, 11 Mar 2020 13:19:58 +0000 (14:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 11 Mar 2020 13:19:58 +0000 (14:19 +0100)
commitcee52204ca030ce7814844e4dab8b4ed897ba3cc
treeecaed340ef62e0b346a7592cc5876f31e1b77f14
parente49b4bb89505fad28cf89f0891aef3e2d397919e
patch 8.2.0371: crash with combination of terminal popup and autocmd

Problem:    Crash with combination of terminal popup and autocmd.
Solution:   Disallow closing a popup that is the current window.  Add a check
            that the current buffer is valid. (closes #5754)
src/buffer.c
src/macros.h
src/popupwin.c
src/terminal.c
src/testdir/test_terminal.vim
src/version.c