<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/debian/patches, branch 3.5.0.x</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.0.x</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.0.x'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2015-07-04T00:20:37+00:00</updated>
<entry>
<title>nx-X11: Backport: xserver: Avoid sending uninitialized padding data over the network</title>
<updated>2015-07-04T00:20:37+00:00</updated>
<author>
<name>Peter Åstrand</name>
<email>astrand@cendio.se</email>
</author>
<published>2015-07-04T00:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=97494f162b86531410e060c794478e0e7201b87d'/>
<id>urn:sha1:97494f162b86531410e060c794478e0e7201b87d</id>
<content type='text'>
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: Make RANDR 'set' timestamps follow client specified time. Bug 21987.</title>
<updated>2015-07-04T00:20:37+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-07-03T23:49:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ab38d9b595fe4dadb031fbda51291ca8bd104869'/>
<id>urn:sha1:ab38d9b595fe4dadb031fbda51291ca8bd104869</id>
<content type='text'>
The lastSetTime value which indicates when the configuration within the
server was last changed was not getting set in the appropriate RandR
requests.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: randr: Clean up compiler warnings about unused and shadowing variables</title>
<updated>2015-07-04T00:20:17+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-07-03T23:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=558e45c1516f66d8084215b319d214f94faf09bc'/>
<id>urn:sha1:558e45c1516f66d8084215b319d214f94faf09bc</id>
<content type='text'>
set but not used variables
shadowing a previous local

A hidden problem was that the VERIFY_RR_* macros define local 'rc'
variables, any other local definitions for those would be shadowed and
generate warnings from gcc. I've renamed the other locals 'ret'
instead of 'rc'.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch</title>
<updated>2015-07-03T23:29:22+00:00</updated>
<author>
<name>Aaron Plattner</name>
<email>aplattner@nvidia.com</email>
</author>
<published>2015-07-03T22:53:37+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=ab58e5781d4e64169b8f6931bf7535cbcf439573'/>
<id>urn:sha1:ab58e5781d4e64169b8f6931bf7535cbcf439573</id>
<content type='text'>
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 &lt;aplattner@nvidia.com&gt;
Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: ProcRRGetScreenInfo: swap configTimestamp as well</title>
<updated>2015-07-03T23:29:01+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2015-07-03T22:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f3079befb8bb33cb1c3221143dfa93baee5a4248'/>
<id>urn:sha1:f3079befb8bb33cb1c3221143dfa93baee5a4248</id>
<content type='text'>
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
Tested-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: RRModeCreate: plug memory leak of newModes if AddResource fails</title>
<updated>2015-07-03T23:28:34+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2015-07-03T22:11:59+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e2f5d079ddb22a10a52731330309cd5c32128c21'/>
<id>urn:sha1:e2f5d079ddb22a10a52731330309cd5c32128c21</id>
<content type='text'>
Reported by parfait 1.0:

Error: Memory leak (CWE 401)
   Memory leak of pointer 'newModes' allocated with realloc(((char*)modes), ((num_modes + 1) * 8))
        at line 93 of randr/rrmode.c in function 'RRModeCreate'.
          pointer allocated at line 82 with realloc(((char*)modes), ((num_modes + 1) * 8)).
Error: Memory leak (CWE 401)
   Memory leak of pointer 'newModes' allocated with malloc(8)
        at line 93 of randr/rrmode.c in function 'RRModeCreate'.
          pointer allocated at line 84 with malloc(8).

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: randr: fix server crash in RRGetScreenInfo</title>
<updated>2015-07-03T23:28:17+00:00</updated>
<author>
<name>Julien Cristau</name>
<email>jcristau@debian.org</email>
</author>
<published>2015-07-03T21:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=09cb7b2d2aa35c6353202e57867f1970df9f5ec2'/>
<id>urn:sha1:09cb7b2d2aa35c6353202e57867f1970df9f5ec2</id>
<content type='text'>
We don't return rates to randr &lt; 1.1 clients, so don't allocate space
for them.  This fixes a FatalError due to not all allocated space being
used.

X.Org bug#21861 &lt;http://bugs.freedesktop.org/show_bug.cgi?id=21861&gt;

Reported-by: Guillaume Quintin &lt;coincoin169g@gmail.com&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: randr: check for virtual size limits before set crtc</title>
<updated>2015-07-03T23:27:55+00:00</updated>
<author>
<name>Tiago Vignatti</name>
<email>tiago.vignatti@nokia.com</email>
</author>
<published>2015-07-03T21:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=44b913275b60fa4e95d76c2918426d7f7d70752a'/>
<id>urn:sha1:44b913275b60fa4e95d76c2918426d7f7d70752a</id>
<content type='text'>
Return a error if the screen is configured to an invalid size.

Signed-off-by: Tiago Vignatti &lt;tiago.vignatti@nokia.com&gt;
Reviewed-by: Adam Jackson &lt;ajax@redhat.com&gt;
Reviewed-by: Daniel Stone &lt;daniel@fooishbar.org&gt;
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: Free randr crtc and output pointer arrays</title>
<updated>2015-07-03T23:27:36+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-07-03T21:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=9b26cc1636da2039837be7b40b26715442554c94'/>
<id>urn:sha1:9b26cc1636da2039837be7b40b26715442554c94</id>
<content type='text'>
All of the crts and outputs were freed, but not the arrays full of
pointers to them.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

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)
</content>
</entry>
<entry>
<title>nx-X11: Backport: Drop a reference to user mode after create</title>
<updated>2015-07-03T23:26:48+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-07-03T20:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=389e410283419c1dd63cfe390601118491ccd0ba'/>
<id>urn:sha1:389e410283419c1dd63cfe390601118491ccd0ba</id>
<content type='text'>
User mode has no customer when create until assigned
to some output.

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)
</content>
</entry>
</feed>
