Add patch for uninitialised return code (supposedly - only s390x).

This commit is contained in:
Bojan Smojver 2020-08-31 22:17:49 +10:00
parent 7e774ca022
commit 7c2fbc794f
2 changed files with 13 additions and 0 deletions

12
xrdp-0.9.14-vnc-rc.patch Normal file
View File

@ -0,0 +1,12 @@
diff -ruN xrdp-0.9.14-v/vnc/vnc.c xrdp-0.9.14/vnc/vnc.c
--- xrdp-0.9.14-v/vnc/vnc.c 2020-08-26 12:32:22.000000000 +1000
+++ xrdp-0.9.14/vnc/vnc.c 2020-08-31 22:17:02.664465069 +1000
@@ -1423,7 +1423,7 @@
{
int error;
struct vnc_screen_layout layout = {0};
- int response_code;
+ int response_code = -1;
error = find_matching_extended_rect(v,
rect_is_reply_to_us,

View File

@ -34,6 +34,7 @@ Patch6: xrdp-0.9.14-log-snprintf.patch
Patch7: xrdp-0.9.14-xfree86-evdev.patch
Patch8: xrdp-0.9.14-fuse-pointer.patch
Patch9: xrdp-0.9.14-arch.patch
Patch10: xrdp-0.9.14-vnc-rc.patch
BuildRequires: gcc
BuildRequires: libX11-devel