[PR #4871] Don't let ConptyConnection be UAF #26007

Open
opened 2026-01-31 09:13:17 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4871

State: closed
Merged: Yes


I noticed a crash in debug builds when a connected application terminates; we get its exit code, then we destruct, and the u16state is used after it's destructed by the process's last words.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4871 **State:** closed **Merged:** Yes --- I noticed a crash in debug builds when a connected application terminates; we get its exit code, then we destruct, and the u16state is used after it's destructed by the process's last words.
claunia added the pull-request label 2026-01-31 09:13:17 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26007