diff options
author | Damien Miller <djm@mindrot.org> | 2005-07-17 17:19:24 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-07-17 17:19:24 +1000 |
commit | 2b9b045d930b8d724f768fafdd9a46fa453b9a3e (patch) | |
tree | f127eb67a0f4818cbb429b7faa76330e7659a6c5 /session.h | |
parent | 37294fb6307202e6f52d7046b3ddb56a4786d27f (diff) |
- (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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: session.h,v 1.24 2005/06/17 02:44:33 djm Exp $ */ | 1 | /* $OpenBSD: session.h,v 1.25 2005/07/17 06:49:04 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -49,6 +49,7 @@ struct Session { | |||
49 | int single_connection; | 49 | int single_connection; |
50 | /* proto 2 */ | 50 | /* proto 2 */ |
51 | int chanid; | 51 | int chanid; |
52 | int *x11_chanids; | ||
52 | int is_subsystem; | 53 | int is_subsystem; |
53 | u_int num_env; | 54 | u_int num_env; |
54 | struct { | 55 | struct { |