| Summary: | ssh sends invalid ttymodes when stdin is not a tty | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Damien Miller <djm> | ||||||
| Component: | ssh | Assignee: | Damien Miller <djm> | ||||||
| Status: | CLOSED FIXED | ||||||||
| Severity: | normal | ||||||||
| Priority: | P2 | ||||||||
| Version: | -current | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 1452 | ||||||||
| Attachments: |
|
||||||||
|
Description
Damien Miller
2006-06-23 18:15:41 AEST
Created attachment 1146 [details]
Daniel's patch
This is Daniel's patch for the bug
I think there is a related bug in connection multiplexing too: it looks like we incorrectly reuse the ttymodes from the master's stdin rather than picking it up each time Created attachment 1502 [details]
revised patch
This is an improved patch, that also removes some of the verbose debugging in ttymodes.c.
I was wrong about there being a bug in the multiplexing tty modes handling, it correctly handles this case by extracting the tty modes from the stdin that is fd-passed to the mux master.
patch applied - thanks! This will be in OpenSSH 5.1 oops, forgot to mark as RESOLVED. Mass update RESOLVED->CLOSED after release of openssh-5.1 |