[vim/vim] Use-after-free in winframe_remove() (PR #19064)

3 views
Skip to first unread message

Christian Brabandt

unread,
Jan 2, 2026, 9:57:25 AM (12 days ago) Jan 2
to vim/vim, Subscribed

Problem: Use-after-free in winframe_remove
Solution: Set window_layout_locked() inside winframe_remove()
and check that writing diff files is disallowed when the
window layout is locked

ping @ychin as we discussed this issue recently. Thanks 🙏


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19064

Commit Summary

  • 0d96a84 Use-after-free in winframe_remove()

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19064@github.com>

Christian Brabandt

unread,
4:50 PM (6 hours ago) 4:50 PM
to vim/vim, Subscribed

Closed #19064 via ead1dda.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19064/issue_event/22028471896@github.com>

Reply all
Reply to author
Forward
0 new messages