1
0
mirror of https://git.FreeBSD.org/src.git synced 2026-06-02 11:24:32 +00:00

Fix logic error in sshd(8) concerning the handling of failed

attempts to bind ports for X11 forwarding.

Security:	FreeBSD-SA-08:05.openssh
Approved by:	so (cperciva)
This commit is contained in:
Colin Percival
2008-04-17 00:00:54 +00:00
parent a3287dcbb9
commit f5f3db0e5a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/releng/6.1/; revision=178263
3 changed files with 5 additions and 4 deletions
+4
View File
@@ -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: p24 FreeBSD-SA-08:05.openssh
Fix logic error in sshd(8) concerning the handling of failed
attempts to bind ports for X11 forwarding.
20080214: p23 FreeBSD-SA-08:02.sendfile
Fix sendfile(2) write-only file permission bypass.
-3
View File
@@ -2708,9 +2708,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]);
}
+1 -1
View File
@@ -32,7 +32,7 @@
TYPE="FreeBSD"
REVISION="6.1"
BRANCH="RELEASE-p23"
BRANCH="RELEASE-p24"
if [ "X${BRANCH_OVERRIDE}" != "X" ]; then
BRANCH=${BRANCH_OVERRIDE}
fi