<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs, branch pr/dix-cve-fixes</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Fdix-cve-fixes</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Fdix-cve-fixes'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2015-05-31T02:03:55+00:00</updated>
<entry>
<title>dix: Allow zero-height PutImage requests (fix for X.Org's CVE-2015-3418).</title>
<updated>2015-05-31T02:03:55+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-05-01T11:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=2db01a9a28c4d1aa5483fe7004e1cf2c50e5f1ee'/>
<id>urn:sha1:2db01a9a28c4d1aa5483fe7004e1cf2c50e5f1ee</id>
<content type='text'>
 The length checking code validates PutImage height and byte width by
 making sure that byte-width &gt;= INT32_MAX / height. If height is zero,
 this generates a divide by zero exception. Allow zero height requests
 explicitly, bypassing the INT32_MAX check.

 Fix for regression introduced by fix for CVE-2014-8092.

 v2: backports to nx-libs 3.6.x (Mike Gabriel)
 v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo)

 Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>dix: integer overflow in ProcPutImage() [CVE-2014-8092 1/4]</title>
<updated>2015-05-31T01:59:45+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2014-01-23T05:11:16+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=8623faa422c3659903bdb5d19eb8947579e6141f'/>
<id>urn:sha1:8623faa422c3659903bdb5d19eb8947579e6141f</id>
<content type='text'>
ProcPutImage() calculates a length field from a width, left pad and depth
specified by the client (if the specified format is XYPixmap).

The calculations for the total amount of memory the server needs for the
pixmap can overflow a 32-bit number, causing out-of-bounds memory writes
on 32-bit systems (since the length is stored in a long int variable).

v2: backport to nx-libs 3.6.x (Mike DePaulo)
v3: port to NXdispatch.c rather than dispatch.c (Mike DePaulo)

Reported-by: Ilja Van Sprundel &lt;ivansprundel@ioactive.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

Conflicts:
	dix/dispatch.c
</content>
</entry>
<entry>
<title>Avoid use-after-free in dix/dixfonts.c: doImageText() [CVE-2013-4396] from xorg/Xserver http://lists.x.org/archives/xorg-announce/2013-October/002332.html</title>
<updated>2015-05-31T01:58:57+00:00</updated>
<author>
<name>Mike DePaulo</name>
<email>mikedep333@gmail.com</email>
</author>
<published>2015-02-09T01:01:27+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c2298e0757106c03f2a9a95d5493102f33c3cfdb'/>
<id>urn:sha1:c2298e0757106c03f2a9a95d5493102f33c3cfdb</id>
<content type='text'>
Save a pointer to the passed in closure structure before copying it
and overwriting the *c pointer to point to our copy instead of the
original.  If we hit an error, once we free(c), reset c to point to
the original structure before jumping to the cleanup code that
references *c.

Since one of the errors being checked for is whether the server was
able to malloc(c-&gt;nChars * itemSize), the client can potentially pass
a number of characters chosen to cause the malloc to fail and the
error path to be taken, resulting in the read from freed memory.

Since the memory is accessed almost immediately afterwards, and the
X server is mostly single threaded, the odds of the free memory having
invalid contents are low with most malloc implementations when not using
memory debugging features, but some allocators will definitely overwrite
the memory there, leading to a likely crash.

v2: Apply to NXdixfonts.c rather than dixfonts.c (Mike DePaulo)
</content>
</entry>
<entry>
<title>nxcomp/README.on-retroactive-DXPC-license: Some layout and interpunctuation fixes.</title>
<updated>2015-05-29T09:15:19+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-05-29T09:15:19+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4ed85e8ef572130d7862b155d3ee9c1e52743230'/>
<id>urn:sha1:4ed85e8ef572130d7862b155d3ee9c1e52743230</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nxcomp/Misc.cpp: fix build failure introduced in 1f44331574bdbe4069d13e4c26df18094b49e658.</title>
<updated>2015-05-28T20:37:22+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2015-05-28T20:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=5bc91ad49ffaf48af7240871aa2cdf50d07c6ecc'/>
<id>urn:sha1:5bc91ad49ffaf48af7240871aa2cdf50d07c6ecc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'sunweaver-pr/DXPC-re-license-retroactively' into arctica-3.6.x</title>
<updated>2015-05-26T14:51:38+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2015-05-26T14:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=beb08f96c9b04beb11c1ce930fdb7363d6423977'/>
<id>urn:sha1:beb08f96c9b04beb11c1ce930fdb7363d6423977</id>
<content type='text'>
Attributes GH PR #31: https://github.com/ArcticaProject/nx-libs/pull/31
</content>
</entry>
<entry>
<title>Merge pull request #36 from ArcticaProject/pr/render-cve-fixes</title>
<updated>2015-05-26T08:31:46+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-05-26T08:31:46+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e364fde72b064143a16d4f51ed34fa5e27f96004'/>
<id>urn:sha1:e364fde72b064143a16d4f51ed34fa5e27f96004</id>
<content type='text'>
XRender CVE fixes for nxagent (X.Org CVE-2014-8100)</content>
</entry>
<entry>
<title>Document retroactive re-licensing of the original DXPC code (closes #30).</title>
<updated>2015-05-26T07:15:15+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2015-05-21T10:25:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1f44331574bdbe4069d13e4c26df18094b49e658'/>
<id>urn:sha1:1f44331574bdbe4069d13e4c26df18094b49e658</id>
<content type='text'>
  * Update nxcomp/LICENSE.
  * Add nxcomp/README.on-retroactive-DXPC-license, giving a
    short overview of the flow of discussions
  * Add "modified or unmodified" to the license information
    printed out to stdout in nxcomp/Misc.cpp
  * Fix copyright year (2006-&gt;2003) for Gian Filippo Pinzari
    (and move him to the GPL-2 section).
  * Add the complete .mbox file of Debian bug #748565.
</content>
</entry>
<entry>
<title>Merge branch 'sunweaver-pr/libxrandr-cleanup' into arctica-3.6.x</title>
<updated>2015-05-25T21:23:22+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2015-05-25T21:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=230852e0e77985e1d62593fe393059dc0053c043'/>
<id>urn:sha1:230852e0e77985e1d62593fe393059dc0053c043</id>
<content type='text'>
Attributes GH PR #21: https://github.com/ArcticaProject/nx-libs/pull/21
</content>
</entry>
<entry>
<title>render: unvalidated lengths in Render extn. swapped procs [CVE-2014-8100 2/2]</title>
<updated>2015-05-24T23:03:10+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2014-01-27T03:51:29+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a0c90ad34fa89e5358893701723bd2f96a4bd3b2'/>
<id>urn:sha1:a0c90ad34fa89e5358893701723bd2f96a4bd3b2</id>
<content type='text'>
v2: backport to nx-libs 3.6.x (Mike DePaulo)
v3: port to NXrender.c rather than render.c (Mike DePaulo)

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;

Conflicts:
	render/render.c
</content>
</entry>
</feed>
