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.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/banner-noslash.patch b/debian/patches/banner-noslash.patch
new file mode 100644
index 000000000..8002791bd
--- /dev/null
+++ b/debian/patches/banner-noslash.patch
@@ -0,0 +1,13 @@
1Index: b/sshconnect2.c
2===================================================================
3--- a/sshconnect2.c
4+++ b/sshconnect2.c
5@@ -477,7 +477,7 @@
6 if (len > 65536)
7 len = 65536;
8 msg = xmalloc(len * 4 + 1); /* max expansion from strnvis() */
9- strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL);
10+ strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL|VIS_NOSLASH);
11 fprintf(stderr, "%s", msg);
12 xfree(msg);
13 }