diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2008-04-17 00:00:41 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2008-04-17 00:00:41 +0000 |
commit | 88e224a8d26c886059d5154d14ba73b3f567c12d (patch) | |
tree | f9b7638bf8eb903b735d02e5c42382c901b5702c | |
parent | d0b7eb2834f0a5141c67a2f0a96c385a696e3a27 (diff) |
Fix logic error in sshd(8) concerning the handling of failed
attempts to bind ports for X11 forwarding.
Security: FreeBSD-SA-08:05.openssh
Notes
Notes:
svn path=/stable/5/; revision=178262
-rw-r--r-- | crypto/openssh/channels.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/openssh/channels.c b/crypto/openssh/channels.c index e663c21596c2..2888449aa537 100644 --- a/crypto/openssh/channels.c +++ b/crypto/openssh/channels.c @@ -2529,9 +2529,6 @@ x11_create_display_inet(int x11_display_offset, int x11_use_localhost, debug2("bind port %d: %.100s", port, strerror(errno)); close(sock); - if (ai->ai_next) - continue; - for (n = 0; n < num_socks; n++) { close(socks[n]); } |