[session.c]
     limit subsystem length in log; ok markus@
This commit is contained in:
Damien Miller 2002-02-05 12:14:10 +11:00
parent c5d8635d6a
commit baa0870852
2 changed files with 7 additions and 4 deletions

View File

@ -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 $

View File

@ -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);