<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/lib/X11/Xrm.c, branch 3.5.99.14</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.14</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.14'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2017-08-25T08:06:49+00:00</updated>
<entry>
<title>Convert nx-X11/lib/ build flow from imake to autotools.</title>
<updated>2017-08-25T08:06:49+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-07-21T10:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c350873c7c977efe5210484f04160be45f84ba7e'/>
<id>urn:sha1:c350873c7c977efe5210484f04160be45f84ba7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>drop platform support: unifdef __UNIXOS2__.</title>
<updated>2017-02-08T21:40:46+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2016-11-15T17:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=d12f9524138899e43deb1a70fb37c97559d8f64e'/>
<id>urn:sha1:d12f9524138899e43deb1a70fb37c97559d8f64e</id>
<content type='text'>
 Fixes ArcticaProject/nx-libs#271.
</content>
</entry>
<entry>
<title>Fix typos in Xrm.c comments</title>
<updated>2016-10-19T19:40:29+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2014-02-06T21:48:08+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3e8df1a2e7f07907b4ce4524a4e79100d762ce70'/>
<id>urn:sha1:3e8df1a2e7f07907b4ce4524a4e79100d762ce70</id>
<content type='text'>
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary casts of pointers to (char *) in calls to Xfree()</title>
<updated>2016-10-19T19:40:28+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-08-11T07:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=26256188b498e122e21ce0e05521dfc58f8b60a5'/>
<id>urn:sha1:26256188b498e122e21ce0e05521dfc58f8b60a5</id>
<content type='text'>
Left one cast behind that is necessary to change from const char *
to char * in nx-X11/lib/X11/lcCharSet.c.

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Align files with upstream libX11-1.6.0</title>
<updated>2016-10-19T19:40:27+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2016-10-07T21:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e2e45b2b3abf46e4e5c27d7c655769f2b693446e'/>
<id>urn:sha1:e2e45b2b3abf46e4e5c27d7c655769f2b693446e</id>
<content type='text'>
This commit looks a bit crazy at first glance. It (re-)introduces lots
of whitespaces and bad formatting.

Explanation: Backporting upstream changes lead to commits being
applied out of order. This meant a lot of manual intervention which in
turn lead to slight differences between upstream and NX.

With this commit these slight differences are minimized which will be
of great help when adding further upstream patches.
</content>
</entry>
<entry>
<title>integer overflow in ReadInFile() in Xrm.c [CVE-2013-1981 7/13]</title>
<updated>2016-10-19T19:40:27+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-02T02:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=7992a98737cfc8a61b996951cb126820c87277dd'/>
<id>urn:sha1:7992a98737cfc8a61b996951cb126820c87277dd</id>
<content type='text'>
Called from XrmGetFileDatabase() which gets called from InitDefaults()
which gets the filename from getenv ("XENVIRONMENT")

If file is exactly 0xffffffff bytes long (or longer and truncates to
0xffffffff, on implementations where off_t is larger than an int),
then size may be set to a value which overflows causing less memory
to be allocated than is written to by the following read() call.

size is left limited to an int, because if your Xresources file is
larger than 2gb, you're very definitely doing it wrong.

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;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Remove more unnecessary casts from Xmalloc/calloc calls</title>
<updated>2016-10-19T19:40:27+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-03-08T07:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e15023b2ad2a5ca8742cbb93fe10cb38ab079831'/>
<id>urn:sha1:e15023b2ad2a5ca8742cbb93fe10cb38ab079831</id>
<content type='text'>
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Remove "register" qualifier that annoys Solaris Studio compiler</title>
<updated>2016-10-19T19:40:25+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2012-03-16T05:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4c7f0af734a99b2d44adc70931ee27454ee687f1'/>
<id>urn:sha1:4c7f0af734a99b2d44adc70931ee27454ee687f1</id>
<content type='text'>
Fixes warning:
"Xrm.c", line 1094: warning: storage class after type is obsolescent

Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Replace Xmalloc+bzero pairs with Xcalloc calls</title>
<updated>2016-10-19T19:40:25+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2011-04-13T04:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=7d7224d8543e85e3a34a1cddf99f3eac9aa9050b'/>
<id>urn:sha1:7d7224d8543e85e3a34a1cddf99f3eac9aa9050b</id>
<content type='text'>
Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
Reviewed-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Xrm.c: ReadInFile: refactor fstat error handling</title>
<updated>2016-10-19T19:40:24+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2011-02-02T16:58:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=26270ab1cf15520043b1d138916fce394780e279'/>
<id>urn:sha1:26270ab1cf15520043b1d138916fce394780e279</id>
<content type='text'>
We can simplify the fstat failure case now that the GetFileSize macro
has been expanded inline.

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