| Summary: | Race condition in ssh-agent AUTH_CONNECTION | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Omar W. Hannet <ohannet> | ||||
| Component: | ssh-agent | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED INVALID | ||||||
| Severity: | normal | CC: | djm | ||||
| Priority: | P2 | Keywords: | patch | ||||
| Version: | 4.4p1 | ||||||
| Hardware: | ix86 | ||||||
| OS: | FreeBSD | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 1633 | ||||||
| Attachments: |
|
||||||
|
Description
Omar W. Hannet
2006-10-25 06:22:59 AEST
Created attachment 1203 [details]
Adds a sleep when socket reads fail with EAGAIN
This patch does not look correct - select() should guarantee that the socket has data ready to be read, so EAGAIN should not occur. Even if it does, falling back through to select() again to wait would be the correct behaviour. I can't reproduce this at all, can you try a recent ssh-agent (ideally from 5.0p1) to see if the behaviour persists? 1 year with no followup == bug closed Mass move of RESOLVED bugs to CLOSED now that 5.3 is out. With the release of 5.4p1, this bug is now considered closed. |