[sshconnect2.c]
     Don't use logit for banner, since it truncates to MSGBUFSIZ; bz #668 & #707.
     ok markus@
This commit is contained in:
Darren Tucker 2003-10-08 17:32:02 +10:00
parent 89df7a3eca
commit 046dff2a07
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
20031008
- (dtucker) OpenBSD CVS Sync
- dtucker@cvs.openbsd.org 2003/10/07 01:47:27
[sshconnect2.c]
Don't use logit for banner, since it truncates to MSGBUFSIZ; bz #668 & #707.
ok markus@
20031007 20031007
- (djm) Delete autom4te.cache after autoreconf - (djm) Delete autom4te.cache after autoreconf
- (dtucker) [auth-pam.c auth-pam.h session.c] Make PAM use the new static - (dtucker) [auth-pam.c auth-pam.h session.c] Make PAM use the new static
@ -1292,4 +1299,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3063 2003/10/07 10:35:57 dtucker Exp $ $Id: ChangeLog,v 1.3064 2003/10/08 07:32:02 dtucker Exp $

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: sshconnect2.c,v 1.124 2003/08/25 10:33:33 djm Exp $"); RCSID("$OpenBSD: sshconnect2.c,v 1.125 2003/10/07 01:47:27 dtucker Exp $");
#include "openbsd-compat/sys-queue.h" #include "openbsd-compat/sys-queue.h"
@ -361,7 +361,8 @@ input_userauth_banner(int type, u_int32_t seq, void *ctxt)
debug3("input_userauth_banner"); debug3("input_userauth_banner");
msg = packet_get_string(NULL); msg = packet_get_string(NULL);
lang = packet_get_string(NULL); lang = packet_get_string(NULL);
logit("%s", msg); if (options.log_level > SYSLOG_LEVEL_QUIET)
fprintf(stderr, "%s", msg);
xfree(msg); xfree(msg);
xfree(lang); xfree(lang);
} }