<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/lib/X11/XKBGeom.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>rm redundant null checks</title>
<updated>2016-10-19T19:40:29+00:00</updated>
<author>
<name>walter harms</name>
<email>wharms@bfs.de</email>
</author>
<published>2014-06-07T09:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=dd6dc2ddfa8b0cb671711acb9d157de29a48c032'/>
<id>urn:sha1:dd6dc2ddfa8b0cb671711acb9d157de29a48c032</id>
<content type='text'>
remove more redundant NULL checks
note that _XkbFree() is really Xfree()

Signed-off-by: Harms &lt;wharms@bfs,de&gt;
Reviewed-by: Rémi Cardona &lt;remi@gentoo.org&gt;
Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>_XkbReadGeomOverlay: check for NULL first, then use pointer</title>
<updated>2016-10-19T19:40:29+00:00</updated>
<author>
<name>Alan Coopersmith</name>
<email>alan.coopersmith@oracle.com</email>
</author>
<published>2013-12-26T17:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=101419b10ea0fcaf9b3e48d733a510f27f827919'/>
<id>urn:sha1:101419b10ea0fcaf9b3e48d733a510f27f827919</id>
<content type='text'>
Flagged by cppcheck 1.62:
[lib/libX11/nx-X11/lib/X11/XKBGeom.c:479] -&gt; [lib/libX11/nx-X11/lib/X11/XKBGeom.c:480]:
 (warning) Possible null pointer dereference: row - otherwise it is
 redundant to check it against null.

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>Rearrange some variable declarations &amp; initializations in XKB</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-17T01:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=2824899d280f2b169b3e745b222f9a981c1ce5f7'/>
<id>urn:sha1:2824899d280f2b169b3e745b222f9a981c1ce5f7</id>
<content type='text'>
Little things noticed during XKB restyling that seemed to make the
code easier to read.

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>Reindent XKB code to X.Org standard style</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-11T20:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3c5880e7254dcd04ea8e54d53ec99880e2dfdc27'/>
<id>urn:sha1:3c5880e7254dcd04ea8e54d53ec99880e2dfdc27</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>XKB: XkbComputeSectionBounds: Check correct bounds in default switch-case</title>
<updated>2016-10-19T19:40:25+00:00</updated>
<author>
<name>Jeremy Huddleston</name>
<email>jeremyhu@apple.com</email>
</author>
<published>2011-05-04T22:34:31+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=7efa7da59e27ad72e7f1b554f85804b82977cbef'/>
<id>urn:sha1:7efa7da59e27ad72e7f1b554f85804b82977cbef</id>
<content type='text'>
XKBGeom.c:191:25: warning: Access to field 'x1' results in a dereference of a null pointer (loaded from variable 'rbounds')
        _XkbCheckBounds(bounds,rbounds-&gt;x1,rbounds-&gt;y1);
                               ^~~~~~~

Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;
Reviewed-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>Dead code removal</title>
<updated>2016-10-19T19:40:25+00:00</updated>
<author>
<name>Jeremy Huddleston</name>
<email>jeremyhu@apple.com</email>
</author>
<published>2011-05-04T18:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1d806a5550490ab2d97ddd3daf3b1e1eb2a779b8'/>
<id>urn:sha1:1d806a5550490ab2d97ddd3daf3b1e1eb2a779b8</id>
<content type='text'>
XKBGeom.c:118:27: warning: Assigned value is always the same as the existing value
    for (key=row-&gt;keys,pos=k=0;k&lt;row-&gt;num_keys;k++,key++) {
                       ~~~^~~~
XKBGeom.c:115:5: warning: Value stored to 'pos' is never read
    pos= 0;
    ^    ~

Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;
Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>unvalidated indexes in _XkbReadGetGeometryReply() [CVE-2013-1997 4/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-02T17:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e6fbdea84a23ab88ff1ec98ba179273cab09adfb'/>
<id>urn:sha1:e6fbdea84a23ab88ff1ec98ba179273cab09adfb</id>
<content type='text'>
If the X server returns color indexes outside the range of the number of
colors it told us to allocate, out of bounds memory access could occur.

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>unvalidated indexes in _XkbReadGeomShapes() [CVE-2013-1997 3/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-02T17:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=0445730b1396dd21c4908373599c7197c0bfc5a6'/>
<id>urn:sha1:0445730b1396dd21c4908373599c7197c0bfc5a6</id>
<content type='text'>
If the X server returns shape indexes outside the range of the number
of shapes it told us to allocate, out of bounds memory access could occur.

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>Lift XKB*.c to libX11 1.3.4</title>
<updated>2016-10-10T20:52:30+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2016-08-26T22:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=af1f7cee091216b445ed6e697301cd640c70d883'/>
<id>urn:sha1:af1f7cee091216b445ed6e697301cd640c70d883</id>
<content type='text'>
</content>
</entry>
</feed>
