| Summary: | Timed out command through ControlMaster yields 0 return value. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Frederik Holljen <frekko> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | djm | ||||
| Priority: | P2 | ||||||
| Version: | 4.4p1 | ||||||
| Hardware: | ix86 | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1289 | ||||||
| Attachments: |
|
||||||
|
Description
Frederik Holljen
2006-11-13 21:32:52 AEDT
Created attachment 1229 [details]
don't return success when master exits unexpectedly
Thanks - this is a bug in ssh. It does not initialise its return value when acting as a ControlMaster client and the master process exits unexpecedly. The attached patch makes a control client return 255 when it does not receive an explicit return value from the master.
fix has been committed and will be in openssh-4.7 - thanks! Close resolved bugs after release. |