commit | 983d83ff1cd796ff321074335fa53fbe7ac45a46 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 07 12:12:43 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 07 12:12:43 2021 +0100 |
tree | 04500912b576c2c91010495406d7e7332053c78f | |
parent | dfc3db76b9de217542cc9258301c1b4818a51cd0 [diff] [blame] |
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.
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index c1d3639..3109f88 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim Binary files differ