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/version.c b/src/version.c index 01c9efb..c218560 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2476, +/**/ 2475, /**/ 2474,