summaryrefslogtreecommitdiffstats
path: root/net/rdesktop/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/rdesktop/files/patch-aa')
-rw-r--r--net/rdesktop/files/patch-aa12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/rdesktop/files/patch-aa b/net/rdesktop/files/patch-aa
new file mode 100644
index 0000000..e9b7e1f
--- /dev/null
+++ b/net/rdesktop/files/patch-aa
@@ -0,0 +1,12 @@
+--- secure.c~ Mon Aug 27 16:33:56 2001
++++ secure.c Mon Aug 27 16:36:19 2001
+@@ -387,6 +387,9 @@
+ {
+ int hostlen = 2 * ( hostname == 0 ? 0 : strlen (hostname));
+
++ if (hostlen > 30)
++ hostlen = 30;
++
+ out_uint16_be (s, 5); /* unknown */
+ out_uint16_be (s, 0x14);
+ out_uint8 (s, 0x7c);
OpenPOWER on IntegriCloud