]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2476: using freed memory when splitting window while closing buffer v8.2.2476
authorBram Moolenaar <Bram@vim.org>
Sun, 7 Feb 2021 11:12:43 +0000 (12:12 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 7 Feb 2021 11:12:43 +0000 (12:12 +0100)
commit983d83ff1cd796ff321074335fa53fbe7ac45a46
tree04500912b576c2c91010495406d7e7332053c78f
parentdfc3db76b9de217542cc9258301c1b4818a51cd0
patch 8.2.2476: using freed memory when splitting window while closing buffer

Problem:    Using freed memory when using an autocommand to split a window
            while a buffer is being closed.
Solution:   Disallow splitting when the buffer has b_locked_split set.
src/buffer.c
src/errors.h
src/popupwin.c
src/structs.h
src/testdir/test_autocmd.vim
src/version.c
src/window.c