Skip to content

Fix macOS malloc diagnostics leaking into TUI composer#16699

Merged
etraut-openai merged 3 commits intomainfrom
etraut/tui_composer_malloc_text
Apr 3, 2026
Merged

Fix macOS malloc diagnostics leaking into TUI composer#16699
etraut-openai merged 3 commits intomainfrom
etraut/tui_composer_malloc_text

Conversation

@etraut-openai
Copy link
Copy Markdown
Collaborator

@etraut-openai etraut-openai commented Apr 3, 2026

Addresses #11555

Problem: macOS malloc stack-logging diagnostics could leak into the TUI composer and get misclassified as pasted user input.

Solution: Strip MallocStackLogging* and MallocLogFile* during macOS pre-main hardening and document the additional env cleanup.

Comment thread codex-rs/process-hardening/src/lib.rs Outdated
Copy link
Copy Markdown
Collaborator

@bolinfest bolinfest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this up!

@etraut-openai etraut-openai merged commit a71fc47 into main Apr 3, 2026
28 of 30 checks passed
@etraut-openai etraut-openai deleted the etraut/tui_composer_malloc_text branch April 3, 2026 18:15
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants