Skip to content

fix: handle macOS PTY stdin buffer overflow - #137

Merged
D3f0 merged 1 commit into
mainfrom
issue-136-macos-pty-stdin-buffer-overflow
Sep 2, 2026
Merged

fix: handle macOS PTY stdin buffer overflow#137
D3f0 merged 1 commit into
mainfrom
issue-136-macos-pty-stdin-buffer-overflow

Conversation

@D3f0

@D3f0 D3f0 commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • avoid macOS Python 3.14 FIONREAD buffer overflow while forwarding PTY stdin
  • preserve readiness and fallback behavior, including zero-byte ioctl results
  • add a real PTY regression test for escape-sequence input (ESC[A)

Verification

@D3f0
D3f0 merged commit 558ec71 into main Sep 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant