diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-01-04 22:35:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-04 22:35:40 +0800 |
| commit | f6ca9262b89c945883ae9bcf46035bfa1ea51bde (patch) | |
| tree | ccc9d7f699766408a9caa5fb0fbf2d43b6589a1e /test/functional/vimscript/executable_spec.lua | |
| parent | c14de47f1a12e1479221ab525d224d77f7eb5953 (diff) | |
| download | rneovim-f6ca9262b89c945883ae9bcf46035bfa1ea51bde.tar.gz rneovim-f6ca9262b89c945883ae9bcf46035bfa1ea51bde.tar.bz2 rneovim-f6ca9262b89c945883ae9bcf46035bfa1ea51bde.zip | |
fix(terminal): handle closing terminal with pending TermRequest (#37227)
Problem: Destroying a terminal with pending TermRequest leads to
heap-use-after-free when processing TermRequest afterwards.
Solution: Store the buffer handle instead of the Terminal pointer in the
pending TermRequest event, and don't emit TermRequest if the
terminal is already closed.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions