mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-03 13:17:47 +00:00
- dtucker@cvs.openbsd.org 2010/01/04 01:45:30
[sshconnect2.c] Don't escape backslashes in the SSH2 banner. bz#1533, patch from Michal Gorny via Gentoo.
This commit is contained in:
parent
98e5d9a0d3
commit
0c348f5b9e
@ -137,6 +137,10 @@
|
||||
- jmc@cvs.openbsd.org 2009/12/29 18:03:32
|
||||
[sshd_config.5 ssh_config.5]
|
||||
sort previous;
|
||||
- dtucker@cvs.openbsd.org 2010/01/04 01:45:30
|
||||
[sshconnect2.c]
|
||||
Don't escape backslashes in the SSH2 banner. bz#1533, patch from
|
||||
Michal Gorny via Gentoo.
|
||||
|
||||
20091226
|
||||
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: sshconnect2.c,v 1.176 2009/12/06 23:41:15 dtucker Exp $ */
|
||||
/* $OpenBSD: sshconnect2.c,v 1.177 2010/01/04 01:45:30 dtucker Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||
* Copyright (c) 2008 Damien Miller. All rights reserved.
|
||||
@ -421,7 +421,7 @@ input_userauth_banner(int type, u_int32_t seq, void *ctxt)
|
||||
if (len > 65536)
|
||||
len = 65536;
|
||||
msg = xmalloc(len * 4 + 1); /* max expansion from strnvis() */
|
||||
strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL);
|
||||
strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL|VIS_NOSLASH);
|
||||
fprintf(stderr, "%s", msg);
|
||||
xfree(msg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user