mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 05:35:10 -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>
3.2 KiB
3.2 KiB