]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.2093: heap-use-after-free when wiping buffer in TabClosedPre v9.1.2093
authorzeertzjq <zeertzjq@outlook.com>
Sun, 18 Jan 2026 20:51:56 +0000 (20:51 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 18 Jan 2026 20:52:48 +0000 (20:52 +0000)
commit8fc7042b3da3939213bb3f4216dc581703a954dd
tree3695619ca381d7fc4ac0b37199860dda505bff54
parent617bf466bb28674aaf5d585ac4db8d6ea3a86140
patch 9.1.2093: heap-use-after-free when wiping buffer in TabClosedPre

Problem:  heap-use-after-free when wiping buffer in TabClosedPre.
Solution: Check window_layout_locked() when closing window(s) in another
          tabpage (zeertzjq).

closes: #19196

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