summaryrefslogtreecommitdiff
path: root/user/rdesktop/signed-int.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-09 17:16:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-09 17:16:54 +0000
commit1ab0ecc8fd5e74e9f09a21c28e6b32e3871d837f (patch)
tree30e7a3ffab3e4725f6fbe4601d0ebe61d99246a0 /user/rdesktop/signed-int.patch
parentee30bf8adbc54f07c5ce4ded0950c38b89f786c5 (diff)
downloadpackages-1ab0ecc8fd5e74e9f09a21c28e6b32e3871d837f.tar.gz
packages-1ab0ecc8fd5e74e9f09a21c28e6b32e3871d837f.tar.bz2
packages-1ab0ecc8fd5e74e9f09a21c28e6b32e3871d837f.tar.xz
packages-1ab0ecc8fd5e74e9f09a21c28e6b32e3871d837f.zip
user/rdesktop: new package
Diffstat (limited to 'user/rdesktop/signed-int.patch')
-rw-r--r--user/rdesktop/signed-int.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/rdesktop/signed-int.patch b/user/rdesktop/signed-int.patch
new file mode 100644
index 000000000..405a4dd3e
--- /dev/null
+++ b/user/rdesktop/signed-int.patch
@@ -0,0 +1,11 @@
+--- rdesktop-1.8.4/orders.c.old 2019-01-02 14:03:25.000000000 +0000
++++ rdesktop-1.8.4/orders.c 2019-01-09 17:13:26.170000000 +0000
+@@ -1266,7 +1266,7 @@
+ in_uint16_le(s, flags); /* used by bmpcache2 */
+ in_uint8(s, type);
+
+- if (!s_check_rem(s, length + 7))
++ if (!s_check_rem(s, (sint16) length + 7))
+ {
+ rdp_protocol_error("process_secondary_order(), next order pointer would overrun stream", &packet);
+ }