diff options
author | 2002-01-29 16:29:02 +0000 | |
---|---|---|
committer | 2002-01-29 16:29:02 +0000 | |
commit | 1240f99c6794d7b226841ad550964dcf00a622c2 (patch) | |
tree | bf498d8c8cc109500859c0a04ebec9b0545798e4 | |
parent | Remove the iov2pages/mbuf2pages API... All of the relevant arch's support (diff) | |
download | wireguard-openbsd-1240f99c6794d7b226841ad550964dcf00a622c2.tar.xz wireguard-openbsd-1240f99c6794d7b226841ad550964dcf00a622c2.zip |
limit subsystem length in log; ok markus@
-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); |