diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2008-04-17 00:00:54 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2008-04-17 00:00:54 +0000 |
| commit | b45fc3da3c1395db9d865c553edc78fa92ea27f4 (patch) | |
| tree | 7e454d016d88d0fa6264e4439c33c0b6b990a18d /crypto | |
| parent | 52c7bd5fc701d93f18ac34cc5e308568bd596bdb (diff) | |
Fix logic error in sshd(8) concerning the handling of failedreleng/6.2
attempts to bind ports for X11 forwarding.
Security: FreeBSD-SA-08:05.openssh
Approved by: so (cperciva)
Notes
Notes:
svn path=/releng/6.2/; revision=178263
Diffstat (limited to 'crypto')
| -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 26b63a1aae90..42ca27cb959a 100644 --- a/crypto/openssh/channels.c +++ b/crypto/openssh/channels.c @@ -2895,9 +2895,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]); } |
