[session.c]
     command=xxx overwrites subsystems, too
This commit is contained in:
Ben Lindstrom 2001-09-14 23:12:07 +00:00
parent d5e1c04c00
commit b09f6b5b02
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,10 @@
- markus@cvs.openbsd.org 2001/09/13
[rijndael.c rijndael.h]
missing $OpenBSD
- markus@cvs.openbsd.org 2001/09/14
[session.c]
command=xxx overwrites subsystems, too
20010913
- (bal) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2001/08/23 11:31:59
@ -6422,4 +6425,4 @@
- Wrote replacements for strlcpy and mkdtemp
- 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 $

View File

@ -33,7 +33,7 @@
*/
#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 "ssh1.h"
@ -1685,7 +1685,7 @@ session_subsystem_req(Session *s)
if(strcmp(subsys, options.subsystem_name[i]) == 0) {
debug("subsystem: exec() %s", options.subsystem_command[i]);
s->is_subsystem = 1;
do_exec_no_pty(s, options.subsystem_command[i]);
do_exec(s, options.subsystem_command[i]);
success = 1;
}
}