summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--channels.c5
2 files changed, 9 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index b26116e65..8e116c9f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
120080403
2 - (djm) OpenBSD CVS sync:
3 - markus@cvs.openbsd.org 2008/04/02 15:36:51
4 [channels.c]
5 avoid possible hijacking of x11-forwarded connections (back out 1.183)
6 CVE-2008-1483; ok djm@
7
120080327 820080327
2 - (dtucker) Cache selinux status earlier so we know if it's enabled after a 9 - (dtucker) Cache selinux status earlier so we know if it's enabled after a
3 chroot. Allows ChrootDirectory to work with selinux support compiled in 10 chroot. Allows ChrootDirectory to work with selinux support compiled in
@@ -3825,4 +3832,4 @@
3825 OpenServer 6 and add osr5bigcrypt support so when someone migrates 3832 OpenServer 6 and add osr5bigcrypt support so when someone migrates
3826 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 3833 passwords between UnixWare and OpenServer they will still work. OK dtucker@
3827 3834
3828$Id: ChangeLog,v 1.4897 2008/03/27 06:53:09 djm Exp $ 3835$Id: ChangeLog,v 1.4898 2008/04/02 21:43:57 djm Exp $
diff --git a/channels.c b/channels.c
index c766cc275..b6bd901f0 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.272 2008/01/19 23:02:40 djm Exp $ */ 1/* $OpenBSD: channels.c,v 1.273 2008/04/02 21:36:51 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2906,9 +2906,6 @@ x11_create_display_inet(int x11_display_offset, int x11_use_localhost,
2906 debug2("bind port %d: %.100s", port, strerror(errno)); 2906 debug2("bind port %d: %.100s", port, strerror(errno));
2907 close(sock); 2907 close(sock);
2908 2908
2909 if (ai->ai_next)
2910 continue;
2911
2912 for (n = 0; n < num_socks; n++) { 2909 for (n = 0; n < num_socks; n++) {
2913 close(socks[n]); 2910 close(socks[n]);
2914 } 2911 }