]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0882: :bwipe crashes if WinLeave wipes all other buffers v9.2.0882
authorzeertzjq <zeertzjq@outlook.com>
Fri, 31 Jul 2026 18:07:40 +0000 (18:07 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 31 Jul 2026 18:07:40 +0000 (18:07 +0000)
commit3e4019a082701f48bb44de0cc7a92f6a3077bd4e
tree1534350121bdb012b1750b0efaac33a831e6668d
parente31fb9bb67617fc4357cdd075aa16423ced9bbe3
patch 9.2.0882: :bwipe crashes if WinLeave wipes all other buffers

Problem:  :bwipe crashes if WinLeave wipes all other buffers
          (after 9.1.2068).
Solution: Check for NULL pointer.

related: neovim/neovim#41066
closes: #20888

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/buffer.c
src/testdir/test_buffer.vim
src/version.c