]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4631: crash when switching window in BufWipeout autocommand v8.2.4631
authorBram Moolenaar <Bram@vim.org>
Sat, 26 Mar 2022 16:28:06 +0000 (16:28 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 26 Mar 2022 16:28:06 +0000 (16:28 +0000)
commit347538fad0c503249ebdedd5884c2081257c9f61
tree33916eb0edab0b25845d8ad59a3cd551c62deccd
parentbf269ed0b0bd8414eea7bea17465b2738a9a2b55
patch 8.2.4631: crash when switching window in BufWipeout autocommand

Problem:    Crash when switching window in BufWipeout autocommand.
Solution:   Put any buffer in the window to avoid it being NULL.
            (closes #10024)
src/buffer.c
src/testdir/test_autocmd.vim
src/version.c
src/window.c