[PR #12180] [MERGED] Prevent potential null pointer crash in export buffer action #28888

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/12180
Author: @ianjoneill
Created: 1/17/2022
Status: Merged
Merged: 1/18/2022
Merged by: @undefined

Base: mainHead: f-prevent-null-pointer-export-buffer


📝 Commits (1)

  • 5972d4f Prevent potential null pointer crash in export buffer action

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalApp/AppActionHandlers.cpp (+4 -1)

📄 Description

Summary of the Pull Request

Prevents a potential null pointer crash in the export buffer action.

PR Checklist

  • Closes ENABLE_VIRTUAL_TERMINAL_PROCESSING skips null characters (#12170)
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Validation Steps Performed

Manually tested.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/12180 **Author:** [@ianjoneill](https://github.com/ianjoneill) **Created:** 1/17/2022 **Status:** ✅ Merged **Merged:** 1/18/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `f-prevent-null-pointer-export-buffer` --- ### 📝 Commits (1) - [`5972d4f`](https://github.com/microsoft/terminal/commit/5972d4faf983e5b74e617acc5d59a37f764a4822) Prevent potential null pointer crash in export buffer action ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/AppActionHandlers.cpp` (+4 -1) </details> ### 📄 Description ## Summary of the Pull Request Prevents a potential null pointer crash in the export buffer action. ## PR Checklist * [x] Closes #12170 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx ## Validation Steps Performed Manually tested. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:31:26 +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#28888