[X2Go-Commits] [nx-libs] 08/11: nx-X11: Backport: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch
git-admin at x2go.org
git-admin at x2go.org
Sat Jul 4 02:23:34 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.5.0.x
in repository nx-libs.
commit ab58e5781d4e64169b8f6931bf7535cbcf439573
Author: Aaron Plattner <aplattner at nvidia.com>
Date: Sat Jul 4 00:53:37 2015 +0200
nx-X11: Backport: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch
ProcRRGetScreenSizeRange uses REQUEST(xRRGetScreenSizeRangeReq) followed by
REQUEST_SIZE_MATCH(xRRGetScreenInfoReq). This happens to work out because both
requests have the same size, so this is not a functional change, just a cosmetic
one.
Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Signed-off-by: Keith Packard <keithp at keithp.com>
Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
---
debian/changelog | 6 ++++
...r-Fix-REQUEST-vs-REQUEST_SIZE_MATCH-.full.patch | 33 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 40 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 4cfcaca..a0babaf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -305,6 +305,12 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low
v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
Adds:
- 1256_nx-X11_ProcRRGetScreenInfo-swap-configTimestamp.full.patch
+ * nx-X11: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch
+ Backported from Arctica GH 3.6.x branch.
+ v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
+ v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
+ Adds:
+ - 1257_nx-X11_randr-Fix-REQUEST-vs-REQUEST_SIZE_MATCH-.full.patch
-- X2Go Release Manager <git-admin at x2go.org> Tue, 17 Mar 2015 19:19:32 +0100
diff --git a/debian/patches/1257_nx-X11_randr-Fix-REQUEST-vs-REQUEST_SIZE_MATCH-.full.patch b/debian/patches/1257_nx-X11_randr-Fix-REQUEST-vs-REQUEST_SIZE_MATCH-.full.patch
new file mode 100644
index 0000000..1751561
--- /dev/null
+++ b/debian/patches/1257_nx-X11_randr-Fix-REQUEST-vs-REQUEST_SIZE_MATCH-.full.patch
@@ -0,0 +1,33 @@
+commit 9e2ac01a4e9bd39e5127b35bc263d5544c6de7a2
+Author: Aaron Plattner <aplattner at nvidia.com>
+Date: Fri Jun 29 13:33:58 2012 -0700
+
+ Backport: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch
+
+ ProcRRGetScreenSizeRange uses REQUEST(xRRGetScreenSizeRangeReq) followed by
+ REQUEST_SIZE_MATCH(xRRGetScreenInfoReq). This happens to work out because both
+ requests have the same size, so this is not a functional change, just a cosmetic
+ one.
+
+ Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
+ Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
+ Signed-off-by: Keith Packard <keithp at keithp.com>
+
+ Backported from Arctica GH 3.6.x branch.
+
+ v2: backport to nx-libs 3.6.x (Ulrich Sibiller)
+ v3: backport to nx-libs 3.5.0.x (Mihai Moldovan)
+
+diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
+index 011b97f..e0eb076 100644
+--- a/nx-X11/programs/Xserver/randr/rrscreen.c
++++ b/nx-X11/programs/Xserver/randr/rrscreen.c
+@@ -228,7 +228,7 @@ ProcRRGetScreenSizeRange (ClientPtr client)
+ rrScrPrivPtr pScrPriv;
+ int rc;
+
+- REQUEST_SIZE_MATCH(xRRGetScreenInfoReq);
++ REQUEST_SIZE_MATCH(xRRGetScreenSizeRangeReq);
+ #ifndef NXAGENT_SERVER
+ rc = dixLookupWindow(&pWin, stuff->window, client, DixReadAccess);
+ #else
diff --git a/debian/patches/series b/debian/patches/series
index e4817ac..38fa107 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -143,6 +143,7 @@
1254_nx-X11_randr-fix-server-crash-in-RRGetScreenInf.full.patch
1255_nx-X11_RRModeCreate-plug-memory-leak-of-newMode.full.patch
1256_nx-X11_ProcRRGetScreenInfo-swap-configTimestamp.full.patch
+1257_nx-X11_randr-Fix-REQUEST-vs-REQUEST_SIZE_MATCH-.full.patch
9900-dxpc-license-history.full+lite.patch
0016_nx-X11_install-location.debian.patch
0102_xserver-xext_set-securitypolicy-path.debian.patch
--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list