summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--session.c6
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f6be28f6..b7ad40d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -36,6 +36,9 @@
[servconf.c servconf.h session.c sshd.8 sshd_config]
s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion;
ok stevesk@
+ - stevesk@cvs.openbsd.org 2002/01/29 16:29:02
+ [session.c]
+ limit subsystem length in log; ok markus@
20020130
- (djm) Delay PRNG seeding until we need it in ssh-keygen, from markus@
@@ -7438,4 +7441,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1808 2002/02/05 01:13:41 djm Exp $
+$Id: ChangeLog,v 1.1809 2002/02/05 01:14:10 djm Exp $
diff --git a/session.c b/session.c
index 48821af2..612512e1 100644
--- a/session.c
+++ b/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"
@@ -1646,7 +1646,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) {
@@ -1664,7 +1664,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);