<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/randr, branch 3.6.x</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.6.x</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.6.x'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2023-04-28T12:39:16+00:00</updated>
<entry>
<title>Update Copyright years</title>
<updated>2023-04-28T12:39:16+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2022-04-29T19:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=390887b7487e5a769b2fe2a038404ed47e5c8e91'/>
<id>urn:sha1:390887b7487e5a769b2fe2a038404ed47e5c8e91</id>
<content type='text'>
Addresses ArcticaProject/nx-libs#985
</content>
</entry>
<entry>
<title>randr: Do not update ConnectionInfo if NULL</title>
<updated>2021-06-08T06:20:05+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2021-03-17T20:16:26+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a14e1a59a4025cbb464b5deeed0f50d5a2898b0c'/>
<id>urn:sha1:a14e1a59a4025cbb464b5deeed0f50d5a2898b0c</id>
<content type='text'>
Backport of this xorg-xserver commit:

  commit 941aeb3b92e644923bd112eef8023f033a140ee6
  Author: Olivier Fourdan &lt;ofourdan@redhat.com&gt;
  Date:   Fri May 13 08:58:58 2016 +0200

    randr: Do not update ConnectionInfo if NULL

    RRScreenSizeNotify() will update the connection information block, but
    if this occurs during initialization before ConnectionInfo is even
    initialized, this will lead to a crash.

    Simply check for ConnectionInfo prior to update it to avoid the crash.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95337
    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
    Signed-off-by: Olivier Fourdan &lt;ofourdan@redhat.com&gt;

Fixes ArcticaProject/nx-libs#1009
</content>
</entry>
<entry>
<title>randr: fix broken macros / memory corruption</title>
<updated>2020-10-16T18:47:31+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2020-10-16T16:57:47+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=d1a967f3aefcffc6babeb25fccc912c0bfdb9fe3'/>
<id>urn:sha1:d1a967f3aefcffc6babeb25fccc912c0bfdb9fe3</id>
<content type='text'>
By casting the rrScrPriv to ScreenPtr we are using the offsets from
the Screen structure for referencing data in the rrScrPriv structure
causing data corruption. As both macros use the same casting this
still works until the location where the data resides is
overwritten. For 64bit the location was the "rotations" member in
rrScrPriv which was not problematic because it is barely used. But on
32bit it was "numCrtcs" which is heavily used. On unwrap this was 0
and lead to a segfault.

Fixes ArcticaProject/nx-libs#943
</content>
</entry>
<entry>
<title>{render,randr}/Imakefile: remove hw/kdrive from include path</title>
<updated>2019-09-29T15:10:05+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-11-07T23:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3a581f165ed047833bcf6827e4448b9a9bb0759b'/>
<id>urn:sha1:3a581f165ed047833bcf6827e4448b9a9bb0759b</id>
<content type='text'>
we don't have that...
</content>
</entry>
<entry>
<title>rrdispatch.c: remove obsolete ifdef</title>
<updated>2019-02-11T12:31:33+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-02-07T20:40:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f729ac996cef9fef7fe963b7b6c9de93fc8eb2cf'/>
<id>urn:sha1:f729ac996cef9fef7fe963b7b6c9de93fc8eb2cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>randr: free crtc-&gt;outputs on destroy</title>
<updated>2017-12-07T06:20:55+00:00</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2017-11-09T09:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=6f9a6aacd70685ae0c468df2441cf77627c3e5ee'/>
<id>urn:sha1:6f9a6aacd70685ae0c468df2441cf77627c3e5ee</id>
<content type='text'>
Backported from X.org:

   commit fc7fb5bbe1c8f787e53500b9a2ca4af815f310d1
   Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com
   Date: Thu Nov 9 10:21:21 2017 +0100

   randr: free crtc-&gt;outputs on destroy

   Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
   Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;

Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;

Fixes ArcticaProject/nx-libs#558
</content>
</entry>
<entry>
<title>randr: always realloc crtcs and outputs</title>
<updated>2017-12-07T06:20:55+00:00</updated>
<author>
<name>Giuseppe Bilotta</name>
<email>giuseppe.bilotta@gmail.com</email>
</author>
<published>2017-11-09T09:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4e059d5798f8c0f686c4ef5cec0f6c98ff6d5646'/>
<id>urn:sha1:4e059d5798f8c0f686c4ef5cec0f6c98ff6d5646</id>
<content type='text'>
Backported from X.org:

   commit 16381d186e7c791031392ed8afcfd33009854e9e
   Author: Giuseppe Bilotta giuseppe.bilotta@gmail.com
   Date: Thu Nov 9 10:21:20 2017 +0100

   randr: always realloc crtcs and outputs

   When the last crtc (resp. output) is destroyed, the rrScrPriv crtcs
   (resp. outputs) fields do not get cleared, which can lead to a situation
   where the private's numCrtcs (resp. numOutputs) field is zero, but the
   associated memory is still allocated. Just checking if numCrtcs (resp.
   numOutputs) is zero is thus not a good criteria to determine whetehr to
   use a realloc or a malloc.

   Since crtcs (resp. outputs) are NULL-initialized anyway, relying on
   numCrtcs (resp. numOutputs) is actually unnecessary, because
   reallocation of a NULL ptr is equivalent to a malloc anyway.

   Therefore, just use realloc() unconditionally, and ensure that the
   fields are properly initialized.

   Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
   Signed-off-by: Giuseppe Bilotta &lt;giuseppe.bilotta@gmail.com&gt;

Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;

Fixes ArcticaProject/nx-libs#558
</content>
</entry>
<entry>
<title>xserver: remove index from CloseScreen (API/ABI breakage)</title>
<updated>2017-04-10T12:56:29+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@gmail.com</email>
</author>
<published>2017-03-10T23:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=93ea74e53e13890ea2f85ea57e9455d0eb2525f4'/>
<id>urn:sha1:93ea74e53e13890ea2f85ea57e9455d0eb2525f4</id>
<content type='text'>
 Extracted from X.org bulk commit:

 commit 1f0e8bd5eb1a5539689cfc4f5a6b86b530907ec5
 Author: Dave Airlie &lt;airlied@redhat.com&gt;
 Date:   Tue Jun 5 13:22:18 2012 +0100

    api: rework the X server driver API to avoid global arrays.

    This is a squash merge containing all the API changes, as
    well as the video ABI bump.

    Its been squashed to make bisection easier.

    Full patch log below:

    [...]

    commit 06729dbbc804a20242e6499f446acb5d94023c3c
    Author: Dave Airlie &lt;airlied@gmail.com&gt;
    Date:   Tue Apr 10 14:04:59 2012 +0100

        xserver: remove index from CloseScreen (API/ABI breakage)

        This drops the index from the CloseScreen callback,
        its always been useless really, since the pScreen contains it.

        Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
        Acked-by: Aaron Plattner &lt;aplattner@nvidia.com&gt;
        Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
        Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>xinerama: Swap the response in RRXineramaWriteMonitor</title>
<updated>2017-04-03T18:40:58+00:00</updated>
<author>
<name>Michal Srb</name>
<email>msrb@suse.com</email>
</author>
<published>2017-03-10T13:16:26+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f34eff0a29191a2b680905776476a3c49b841e4e'/>
<id>urn:sha1:f34eff0a29191a2b680905776476a3c49b841e4e</id>
<content type='text'>
 Backported from X.org:

 commit c96c860b6420adf0d004707a323af30491a1d7d3
 Author: Michal Srb &lt;msrb@suse.com&gt;
 Date:   Mon Dec 12 17:45:22 2016 +0200

    xinerama: Swap the response in RRXineramaWriteMonitor

    Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;
</content>
</entry>
<entry>
<title>misc nx-X11/programs/Xserver/randr/: switch to using xreallocarray, since it has been ported now.</title>
<updated>2017-03-03T11:20:20+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ïonic@ionic.de</email>
</author>
<published>2016-09-16T23:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=7011de155a1063a77cbab2f4d1ca599e23d7b102'/>
<id>urn:sha1:7011de155a1063a77cbab2f4d1ca599e23d7b102</id>
<content type='text'>
</content>
</entry>
</feed>
