mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 23:34:55 +02: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
|
- jmc@cvs.openbsd.org 2009/12/29 18:03:32
|
||||||
[sshd_config.5 ssh_config.5]
|
[sshd_config.5 ssh_config.5]
|
||||||
sort previous;
|
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
|
20091226
|
||||||
- (tim) [contrib/cygwin/Makefile] Install ssh-copy-id and ssh-copy-id.1
|
- (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) 2000 Markus Friedl. All rights reserved.
|
||||||
* Copyright (c) 2008 Damien Miller. 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)
|
if (len > 65536)
|
||||||
len = 65536;
|
len = 65536;
|
||||||
msg = xmalloc(len * 4 + 1); /* max expansion from strnvis() */
|
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);
|
fprintf(stderr, "%s", msg);
|
||||||
xfree(msg);
|
xfree(msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user