diff options
Diffstat (limited to 'debian/patches/banner-noslash.patch')
-rw-r--r-- | debian/patches/banner-noslash.patch | 22 |
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 @@ | |||
1 | Description: Don't duplicate backslashes when displaying server banner | ||
2 | Origin: vendor, http://bugs.gentoo.org/show_bug.cgi?id=244222 | ||
3 | Author: Michał Górny <gentoo@mgorny.alt.pl> | ||
4 | Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1533 | ||
5 | Bug-Debian: http://bugs.debian.org/505378 | ||
6 | Bug-Ubuntu: https://bugs.launchpad.net/bugs/425346 | ||
7 | Bug-Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=244222 | ||
8 | Last-Update: 2010-02-27 | ||
9 | |||
10 | Index: 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 | } | ||