mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## Why Manual terminal-input approvals shell-quote the proposed input, which cannot preserve NUL bytes for an accurate review. ## What changed Reject terminal input containing a NUL byte before creating an approval request or sending any of the input to the terminal. ## Testing Extend the unreviewable-input integration test to cover both oversized input and NUL-containing input, and verify that rejected input is not executed. GitOrigin-RevId: e738c59ba5570012663bf6168ad052be237ca226