- stevesk@cvs.openbsd.org 2002/01/29 16:29:02
[session.c] limit subsystem length in log; ok markus@
This commit is contained in:
parent
c5d8635d6a
commit
baa0870852
|
@ -36,6 +36,9 @@
|
||||||
[servconf.c servconf.h session.c sshd.8 sshd_config]
|
[servconf.c servconf.h session.c sshd.8 sshd_config]
|
||||||
s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion;
|
s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion;
|
||||||
ok stevesk@
|
ok stevesk@
|
||||||
|
- stevesk@cvs.openbsd.org 2002/01/29 16:29:02
|
||||||
|
[session.c]
|
||||||
|
limit subsystem length in log; ok markus@
|
||||||
|
|
||||||
20020130
|
20020130
|
||||||
- (djm) Delay PRNG seeding until we need it in ssh-keygen, from markus@
|
- (djm) Delay PRNG seeding until we need it in ssh-keygen, from markus@
|
||||||
|
@ -7438,4 +7441,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "ssh.h"
|
||||||
#include "ssh1.h"
|
#include "ssh1.h"
|
||||||
|
@ -1646,7 +1646,7 @@ session_subsystem_req(Session *s)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
packet_check_eom();
|
packet_check_eom();
|
||||||
log("subsystem request for %s", subsys);
|
log("subsystem request for %.100s", subsys);
|
||||||
|
|
||||||
for (i = 0; i < options.num_subsystems; i++) {
|
for (i = 0; i < options.num_subsystems; i++) {
|
||||||
if (strcmp(subsys, options.subsystem_name[i]) == 0) {
|
if (strcmp(subsys, options.subsystem_name[i]) == 0) {
|
||||||
|
@ -1664,7 +1664,7 @@ session_subsystem_req(Session *s)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!success)
|
if (!success)
|
||||||
log("subsystem request for %s failed, subsystem not found",
|
log("subsystem request for %.100s failed, subsystem not found",
|
||||||
subsys);
|
subsys);
|
||||||
|
|
||||||
xfree(subsys);
|
xfree(subsys);
|
||||||
|
|
Loading…
Reference in New Issue