mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
790bd4d585
Problem: [security]: Use-after-free in win_close()
Solution: Check window is valid, before accessing it
If the current window structure is no longer valid (because a previous
autocommand has already freed this window), fail and return before
attempting to set win->w_closing variable.
Add a test to trigger ASAN in CI
25aabc2b8e
Co-authored-by: Christian Brabandt <cb@256bit.org>
1.5 KiB
1.5 KiB