- markus@cvs.openbsd.org 2001/09/14
[session.c] command=xxx overwrites subsystems, too
This commit is contained in:
parent
d5e1c04c00
commit
b09f6b5b02
|
@ -3,7 +3,10 @@
|
||||||
- markus@cvs.openbsd.org 2001/09/13
|
- markus@cvs.openbsd.org 2001/09/13
|
||||||
[rijndael.c rijndael.h]
|
[rijndael.c rijndael.h]
|
||||||
missing $OpenBSD
|
missing $OpenBSD
|
||||||
|
- markus@cvs.openbsd.org 2001/09/14
|
||||||
|
[session.c]
|
||||||
|
command=xxx overwrites subsystems, too
|
||||||
|
|
||||||
20010913
|
20010913
|
||||||
- (bal) OpenBSD CVS Sync
|
- (bal) OpenBSD CVS Sync
|
||||||
- markus@cvs.openbsd.org 2001/08/23 11:31:59
|
- markus@cvs.openbsd.org 2001/08/23 11:31:59
|
||||||
|
@ -6422,4 +6425,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.1512 2001/09/14 23:09:29 mouring Exp $
|
$Id: ChangeLog,v 1.1513 2001/09/14 23:12:07 mouring Exp $
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: session.c,v 1.100 2001/08/16 19:18:34 jakob Exp $");
|
RCSID("$OpenBSD: session.c,v 1.101 2001/09/14 18:59:11 markus Exp $");
|
||||||
|
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "ssh1.h"
|
#include "ssh1.h"
|
||||||
|
@ -1685,7 +1685,7 @@ session_subsystem_req(Session *s)
|
||||||
if(strcmp(subsys, options.subsystem_name[i]) == 0) {
|
if(strcmp(subsys, options.subsystem_name[i]) == 0) {
|
||||||
debug("subsystem: exec() %s", options.subsystem_command[i]);
|
debug("subsystem: exec() %s", options.subsystem_command[i]);
|
||||||
s->is_subsystem = 1;
|
s->is_subsystem = 1;
|
||||||
do_exec_no_pty(s, options.subsystem_command[i]);
|
do_exec(s, options.subsystem_command[i]);
|
||||||
success = 1;
|
success = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue