From 257825c88dd670eec2772109a0f48c78f4b5b190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0m=C3=ADd?= Date: Fri, 3 Jul 2015 22:21:44 +0200 Subject: nx-X11: Backport: Bug 51375: Xorg doesn't set status for RRGetOutputInfo https://bugs.freedesktop.org/show_bug.cgi?id=51375 https://bugs.freedesktop.org/attachment.cgi?id=63397 Signed-off-by: Alan Coopersmith Reviewed-by: Keith Packard Tested-by: Daniel Stone 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) --- ...51375-Xorg-doesn_t-set-status-for-RR.full.patch | 30 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) create mode 100644 debian/patches/1250_nx-X11_Bug-51375-Xorg-doesn_t-set-status-for-RR.full.patch (limited to 'debian/patches') diff --git a/debian/patches/1250_nx-X11_Bug-51375-Xorg-doesn_t-set-status-for-RR.full.patch b/debian/patches/1250_nx-X11_Bug-51375-Xorg-doesn_t-set-status-for-RR.full.patch new file mode 100644 index 000000000..1e440c29c --- /dev/null +++ b/debian/patches/1250_nx-X11_Bug-51375-Xorg-doesn_t-set-status-for-RR.full.patch @@ -0,0 +1,30 @@ +commit 8fd0b52f20e28759a88e1202716f60e773b11dd3 +Author: Jaroslav Šmíd +Date: Mon Jul 9 19:12:42 2012 -0700 + + Backport: Bug 51375: Xorg doesn't set status for RRGetOutputInfo + + https://bugs.freedesktop.org/show_bug.cgi?id=51375 + https://bugs.freedesktop.org/attachment.cgi?id=63397 + + Signed-off-by: Alan Coopersmith + Reviewed-by: Keith Packard + Tested-by: Daniel Stone + + 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/rroutput.c b/nx-X11/programs/Xserver/randr/rroutput.c +index 1ecde31..693f5a5 100644 +--- a/nx-X11/programs/Xserver/randr/rroutput.c ++++ b/nx-X11/programs/Xserver/randr/rroutput.c +@@ -456,6 +456,7 @@ ProcRRGetOutputInfo (ClientPtr client) + pScrPriv = rrGetScrPriv(pScreen); + + rep.type = X_Reply; ++ rep.status = RRSetConfigSuccess; + rep.sequenceNumber = client->sequence; + rep.length = OutputInfoExtra >> 2; + rep.timestamp = pScrPriv->lastSetTime.milliseconds; diff --git a/debian/patches/series b/debian/patches/series index e504d7e88..266416119 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -136,6 +136,7 @@ 1104-xkb-Check-strings-length-against-request-size.full.patch 1200-CVE-2013-7439-MakeBigReq-don-t-move-the-last-wo.full.patch 1210-CVE-2015-3418-dix-Allow-zero-height-PutImage-re.full.patch +1250_nx-X11_Bug-51375-Xorg-doesn_t-set-status-for-RR.full.patch 9900-dxpc-license-history.full+lite.patch 0016_nx-X11_install-location.debian.patch 0102_xserver-xext_set-securitypolicy-path.debian.patch -- cgit v1.2.3