diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2002-01-29 16:29:03 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2002-01-29 16:29:03 +0000 |
commit | fb4f050aeaef86db16b9df2b58730804118d7e1f (patch) | |
tree | 08ead465468cb65d2cf8c9f34280cd3db63ea264 /usr.bin/ssh | |
parent | 7b5ea35a544a1fb201e256a8cfdc2147dc14607b (diff) |
limit subsystem length in log; ok markus@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/session.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index 1074ccc4654..0cd127ee656 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -33,7 +33,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.120 2002/01/29 14:32:03 markus Exp $"); +RCSID("$OpenBSD: session.c,v 1.121 2002/01/29 16:29:02 stevesk Exp $"); #include "ssh.h" #include "ssh1.h" @@ -1292,7 +1292,7 @@ session_subsystem_req(Session *s) int i; packet_check_eom(); - log("subsystem request for %s", subsys); + log("subsystem request for %.100s", subsys); for (i = 0; i < options.num_subsystems; i++) { if (strcmp(subsys, options.subsystem_name[i]) == 0) { @@ -1310,7 +1310,7 @@ session_subsystem_req(Session *s) } if (!success) - log("subsystem request for %s failed, subsystem not found", + log("subsystem request for %.100s failed, subsystem not found", subsys); xfree(subsys); |