summaryrefslogtreecommitdiffstats
path: root/session.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-07-17 09:19:24 +0200
committerDamien Miller <djm@mindrot.org>2005-07-17 09:19:24 +0200
commit2b9b045d930b8d724f768fafdd9a46fa453b9a3e (patch)
treef127eb67a0f4818cbb429b7faa76330e7659a6c5 /session.h
parent - (djm) [auth-pam.c sftp.c] spaces vs. tabs at start of line (diff)
downloadopenssh-2b9b045d930b8d724f768fafdd9a46fa453b9a3e.tar.xz
openssh-2b9b045d930b8d724f768fafdd9a46fa453b9a3e.zip
- (djm) [auth-pam.c sftp.c] spaces vs. tabs at start of line
- djm@cvs.openbsd.org 2005/07/17 06:49:04 [channels.c channels.h session.c session.h] Fix a number of X11 forwarding channel leaks: 1. Refuse multiple X11 forwarding requests on the same session 2. Clean up all listeners after a single_connection X11 forward, not just the one that made the single connection 3. Destroy X11 listeners when the session owning them goes away testing and ok dtucker@
Diffstat (limited to 'session.h')
-rw-r--r--session.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/session.h b/session.h
index 92bd16573..a2598a99c 100644
--- a/session.h
+++ b/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.24 2005/06/17 02:44:33 djm Exp $ */
+/* $OpenBSD: session.h,v 1.25 2005/07/17 06:49:04 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -49,6 +49,7 @@ struct Session {
int single_connection;
/* proto 2 */
int chanid;
+ int *x11_chanids;
int is_subsystem;
u_int num_env;
struct {