aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2008-04-17 00:00:54 +0000
committerColin Percival <cperciva@FreeBSD.org>2008-04-17 00:00:54 +0000
commitb45fc3da3c1395db9d865c553edc78fa92ea27f4 (patch)
tree7e454d016d88d0fa6264e4439c33c0b6b990a18d
parent52c7bd5fc701d93f18ac34cc5e308568bd596bdb (diff)
downloadsrc-releng/6.2.tar.gz
src-releng/6.2.zip
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
-rw-r--r--UPDATING4
-rw-r--r--crypto/openssh/channels.c3
-rw-r--r--sys/conf/newvers.sh2
3 files changed, 5 insertions, 4 deletions
diff --git a/UPDATING b/UPDATING
index 75ca5241286a..cb851bb4443f 100644
--- a/UPDATING
+++ b/UPDATING
@@ -8,6 +8,10 @@ Items affecting the ports and packages system can be found in
/usr/ports/UPDATING. Please read that file before running
portupgrade.
+20080416: p12 FreeBSD-SA-08:05.openssh
+ Fix logic error in sshd(8) concerning the handling of failed
+ attempts to bind ports for X11 forwarding.
+
20080214: p11 FreeBSD-SA-08:02.sendfile
Fix sendfile(2) write-only file permission bypass.
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]);
}
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index da007c5fe018..4a5a098242b2 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -32,7 +32,7 @@
TYPE="FreeBSD"
REVISION="6.2"
-BRANCH="RELEASE-p11"
+BRANCH="RELEASE-p12"
if [ "X${BRANCH_OVERRIDE}" != "X" ]; then
BRANCH=${BRANCH_OVERRIDE}
fi