<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/lib, branch 3.5.99.2</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.2</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.2'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2016-10-13T12:05:20+00:00</updated>
<entry>
<title>Pending.c: conditionally include stdio.h</title>
<updated>2016-10-13T12:05:20+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2016-10-07T19:19:07+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=97c26978b23d85439e5dbeea26520b982ebf8473'/>
<id>urn:sha1:97c26978b23d85439e5dbeea26520b982ebf8473</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a couple fixups for the security patches</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Julien Cristau</name>
<email>jcristau@debian.org</email>
</author>
<published>2013-05-21T19:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a9f623f0a63372ca0705e8394fadf514dec55b1c'/>
<id>urn:sha1:a9f623f0a63372ca0705e8394fadf514dec55b1c</id>
<content type='text'>
    Add a couple fixups for the security patches

    - off-by-one in xkb
    - memory leak in an error path

Backport from debian to NX: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>XListFontsWithInfo: Re-decrement flist[0] before calling free() on it.</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Matthieu Herrb</name>
<email>matthieu.herrb@laas.fr</email>
</author>
<published>2013-05-08T17:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=838108c296cb739350456f49431b57821c78b15c'/>
<id>urn:sha1:838108c296cb739350456f49431b57821c78b15c</id>
<content type='text'>
Freeing a pointer that wasn't returned by malloc() is undefined
behavior and produces an error with OpenBSD's implementation.

Signed-off-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
Reviewed-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>_XkbReadGetMapReply: reject maxKeyCodes smaller than the minKeyCode</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-31T19:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=dc749a457d62b330051e9fb709960951e05de41b'/>
<id>urn:sha1:dc749a457d62b330051e9fb709960951e05de41b</id>
<content type='text'>
Various other bounds checks in the code assume this is true, so
enforce it when we first get the data from the X server.

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Use calloc in XOpenDisplay to initialize structs containing pointers</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-16T17:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=37f8d3eb8ec4a44bebaac7893e5881bd59b5440c'/>
<id>urn:sha1:37f8d3eb8ec4a44bebaac7893e5881bd59b5440c</id>
<content type='text'>
Prevents trying to free uninitialized pointers if we have to bail out
partway through setup, such as if we receive a corrupted or incomplete
connection setup block from the server.

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Unbounded recursion in _XimParseStringFile() when parsing include files [CVE-2013-2004 2/2]</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-02T20:39:58+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e386187e91569eae3064927d5b5753a7a68ace47'/>
<id>urn:sha1:e386187e91569eae3064927d5b5753a7a68ace47</id>
<content type='text'>
parseline() can call _XimParseStringFile() which can call parseline()
which can call _XimParseStringFile() which can call parseline() ....
eventually causing recursive stack overflow and crash.

Limit is set to a include depth of 100 files, which should be enough
for all known use cases, but could be adjusted later if necessary.

Reported-by: Ilja Van Sprundel &lt;ivansprundel@ioactive.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Unbounded recursion in GetDatabase() when parsing include files [CVE-2013-2004 1/2]</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-02T20:01:39+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=bddfee4a987c0ef5eb26e1b14b8385e7630a1e21'/>
<id>urn:sha1:bddfee4a987c0ef5eb26e1b14b8385e7630a1e21</id>
<content type='text'>
GetIncludeFile() can call GetDatabase() which can call GetIncludeFile()
which can call GetDatabase() which can call GetIncludeFile() ....
eventually causing recursive stack overflow and crash.

Easily reproduced with a resource file that #includes itself.

Limit is set to a include depth of 100 files, which should be enough
for all known use cases, but could be adjusted later if necessary.

Reported-by: Ilja Van Sprundel &lt;ivansprundel@ioactive.com&gt;
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Avoid overflows in XListExtensions() [CVE-2013-1997 15/15]</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-02T23:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=dbc11719399ce7e191c806ad6b5c9104666e2a77'/>
<id>urn:sha1:dbc11719399ce7e191c806ad6b5c9104666e2a77</id>
<content type='text'>
Ensure that when breaking the returned list into individual strings,
we don't walk past the end of allocated memory to write the '\0' bytes

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Avoid overflows in XGetFontPath() [CVE-2013-1997 14/15]</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-02T23:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=77edd88e104cbd3fb5dc95473adac1db2c2302a3'/>
<id>urn:sha1:77edd88e104cbd3fb5dc95473adac1db2c2302a3</id>
<content type='text'>
Ensure that when breaking the returned list into individual strings,
we don't walk past the end of allocated memory to write the '\0' bytes

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Avoid overflows in XListFonts() [CVE-2013-1997 13/15]</title>
<updated>2016-10-12T07:34:39+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-02T23:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f6c5069ac78d2fe9883cc7ddaf1f32cc17d27107'/>
<id>urn:sha1:f6c5069ac78d2fe9883cc7ddaf1f32cc17d27107</id>
<content type='text'>
Ensure that when breaking the returned list into individual strings,
we don't walk past the end of allocated memory to write the '\0' bytes

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Matthieu Herrb &lt;matthieu.herrb@laas.fr&gt;
Signed-off-by: Julien Cristau &lt;jcristau@debian.org&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
</feed>
