[Bug 2732] New: select() is not called properly in ssh_exchange_identification()

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Jun 24 12:11:23 AEST 2017


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.


More information about the openssh-bugs mailing list