bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-24 02:11 UTC
[Bug 2732] New: select() is not called properly in ssh_exchange_identification()
https://bugzilla.mindrot.org/show_bug.cgi?id=2732 Bug ID: 2732 Summary: select() is not called properly in ssh_exchange_identification() Product: Portable OpenSSH Version: 7.5p1 Hardware: Other OS: Other Status: NEW Severity: major Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: bagajjal at microsoft.com I found an issue with select() not called properly in the ssh_exchange_identification(). Variable "fdset" is passed as readfd, exceptionfd to the select(). Select() should be called with independent fdset so we should have two different variables instead of reusing the same variable "fdset". The reported issue is in line 566, 567 (sshconnect.c file). -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jun-24 08:14 UTC
[Bug 2732] select() is not called properly in ssh_exchange_identification()
https://bugzilla.mindrot.org/show_bug.cgi?id=2732 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |djm at mindrot.org Blocks| |2698 Resolution|--- |FIXED --- Comment #1 from Damien Miller <djm at mindrot.org> --- Thanks for reminding me. This has been committed and will be in openssh-7.6 https://anongit.mindrot.org/openssh.git/commit/?id=4540428cd0adf039bcf5a8a27f2d5cdf09191513 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=2698 [Bug 2698] Tracking bug for OpenSSH 7.6 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:56 UTC
[Bug 2732] select() is not called properly in ssh_exchange_identification()
https://bugzilla.mindrot.org/show_bug.cgi?id=2732 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- closing resolved bugs as of 8.6p1 release -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
Apparently Analagous Threads
- [Bug 2734] New: close() is called twice in confree()
- ssh_exchange_identification fails (how to fix)
- ssh_exchange_identification: Connection closed by remote host
- ssh_exchange_identification fails
- ssh_exchange_identification: Connection closed by remote host