summaryrefslogtreecommitdiff
path: root/debian/patches/banner-noslash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/banner-noslash.patch')
-rw-r--r--debian/patches/banner-noslash.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/patches/banner-noslash.patch b/debian/patches/banner-noslash.patch
deleted file mode 100644
index fa7b08f23..000000000
--- a/debian/patches/banner-noslash.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1Description: Don't duplicate backslashes when displaying server banner
2Origin: vendor, http://bugs.gentoo.org/show_bug.cgi?id=244222
3Author: Michał Górny <gentoo@mgorny.alt.pl>
4Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1533
5Bug-Debian: http://bugs.debian.org/505378
6Bug-Ubuntu: https://bugs.launchpad.net/bugs/425346
7Bug-Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=244222
8Last-Update: 2010-02-27
9
10Index: b/sshconnect2.c
11===================================================================
12--- a/sshconnect2.c
13+++ b/sshconnect2.c
14@@ -472,7 +472,7 @@
15 if (len > 65536)
16 len = 65536;
17 msg = xmalloc(len * 4 + 1); /* max expansion from strnvis() */
18- strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL);
19+ strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL|VIS_NOSLASH);
20 fprintf(stderr, "%s", msg);
21 xfree(msg);
22 }