]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1564: crash when opening popup to closing buffer v9.1.1564
authorSean Dewar <6256228+seandewar@users.noreply.github.com>
Fri, 18 Jul 2025 18:09:47 +0000 (20:09 +0200)
committerChristian Brabandt <cb@256bit.org>
Fri, 18 Jul 2025 18:09:47 +0000 (20:09 +0200)
commit2e58b7684ff6075565cbfdf778da08391963fa59
tree351ce7472f4dbd1a05b3bfaeeb350af46dccf147
parentbe863b26334c3423c64d554f930bb2baf680f617
patch 9.1.1564: crash when opening popup to closing buffer

Problem:  Can open a popup window to a closing buffer, leading to the
          buffer remaining open in the window after it's soon unloaded,
          causing crashes.
Solution: Check b_locked_split when opening a popup window to an
          existing buffer (Sean Dewar).

closes: #17790

Signed-off-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/errors.h
src/po/vim.pot
src/popupwin.c
src/testdir/test_popupwin.vim
src/version.c