<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/xkb, branch 3.5.99.17</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.17</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=3.5.99.17'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2018-11-09T14:31:57+00:00</updated>
<entry>
<title>Convert existing Xprintf style calls to asprintf style</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-10-29T23:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b09a72b08c7effeac42652f087f0b8f16bc74763'/>
<id>urn:sha1:b09a72b08c7effeac42652f087f0b8f16bc74763</id>
<content type='text'>
This commit + some more adaption in ddxLoad.c which where no longer
present when Alan did the patch. However, our code still has them:

  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Sat Nov 27 20:09:04 2010 -0800

    Convert existing Xprintf style calls to asprintf style

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;
    Reviewed-by: Mikhail Gusarov &lt;dottedmag@dottedmag.net&gt;

    Backported-to-NX-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>xkb: Don't check for NULL before calling free</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-10-29T22:39:03+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b01e29efffafe9f426eb88ba400e2fa24de548aa'/>
<id>urn:sha1:b01e29efffafe9f426eb88ba400e2fa24de548aa</id>
<content type='text'>
Author: Pauli Nieminen &lt;ext-pauli.nieminen@nokia.com&gt;
  Date:   Thu Jul 22 11:34:54 2010 +0300

    xkb: Don't check for NULL before calling free

    Signed-off-by: Pauli Nieminen &lt;ext-pauli.nieminen@nokia.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>xkb: Fix memory leak if opening file fails</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-10-29T22:34:10+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=90b83a79e6aed4e54ac29d022adf16be6869f054'/>
<id>urn:sha1:90b83a79e6aed4e54ac29d022adf16be6869f054</id>
<content type='text'>
  Author: Pauli Nieminen &lt;ext-pauli.nieminen@nokia.com&gt;
  Date:   Thu Jul 22 11:33:33 2010 +0300

    xkb: Fix memory leak if opening file fails

    If fopen fails pointer in buf would be overwriten with a new pointer.

    Signed-off-by: Pauli Nieminen &lt;ext-pauli.nieminen@nokia.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>Make: Automatically determine xkb dir</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-10-24T22:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=f23189e7392254c9458bf76504920cb868360e40'/>
<id>urn:sha1:f23189e7392254c9458bf76504920cb868360e40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>XKB: Fix size_syms calculation bug</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-25T20:39:17+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=824b629732ed90e6040790eb07fe8271d5fb8fb3'/>
<id>urn:sha1:824b629732ed90e6040790eb07fe8271d5fb8fb3</id>
<content type='text'>
Backported from Xorg:

  commit f292de2ef13dc994a38029cee9e2642576893332
  Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
  Date:   Wed Mar 21 02:04:12 2007 +0200

    XKB: Fix size_syms calculation bug

    Apparently it needed to be nSyms*15/10, not *12/10; make it match the
        other allocation code.

Backported-to-nx-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;
</content>
</entry>
<entry>
<title>XKB: Remove unused DDX functions</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-18T21:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=3c1b1efad2ca42154789f09e2519630c5471ed41'/>
<id>urn:sha1:3c1b1efad2ca42154789f09e2519630c5471ed41</id>
<content type='text'>
    commit 7c4c00649cae855e141ec9a3667bfe399e3156d0
    Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
    Date:   Thu Jan 1 05:25:52 2009 +1100

        XKB: Remove unused DDX functions

        They were complete no-ops anyway.

        Signed-off-by: Daniel Stone &lt;daniel@fooishbar.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>XKB: Fix logic error</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-18T21:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=7487d7fa2dbc69fe39f81dd5b3e9a1a32ee7a2e0'/>
<id>urn:sha1:7487d7fa2dbc69fe39f81dd5b3e9a1a32ee7a2e0</id>
<content type='text'>
    commit 6aef4e96affcc26b9415c6bc9c9bebb5af05a1a7
    Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
    Date:   Sat Jan 17 13:42:46 2009 +0200

        XKB: Fix logic error

        Use logical or instead of bitwise or.

        Signed-off-by: Daniel Stone &lt;daniel@fooishbar.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>XKB: Fix garbage initialization</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-18T21:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=6625e78c1292f2dc03329e55bbc33537cc8ee569'/>
<id>urn:sha1:6625e78c1292f2dc03329e55bbc33537cc8ee569</id>
<content type='text'>
  commit 8311cd5f89ca6781842bb24671b8122cdf8be148
  Author: Jeremy Huddleston &lt;jeremyhu@freedesktop.org&gt;
  Date:   Tue Mar 23 10:37:36 2010 -0700

      XKB: Fix garbage initialization

      XkbEnableDisableControls set extra garbage bits on the xkbControlsNotify
          changedControls mask because it was uninitialized on the stack.

      Found by clang

      Signed-off-by: Jeremy Huddleston &lt;jeremyhu@apple.com&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>ProcXkbGetKbdByName: fix use of uninitialised bytes valgrind error.</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-18T21:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=69475953b37d23c77f977833f12cc696c955cd5f'/>
<id>urn:sha1:69475953b37d23c77f977833f12cc696c955cd5f</id>
<content type='text'>
  We have fixed that (independendly) before, but missed one line.

  Backported-to-nx-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;

    commit 85f9017393c9bb19553e9afcf554673a44a09993
    Author: Ander Conselvan de Oliveira &lt;ander.conselvan-de-oliveira@nokia.com&gt;
    Date:   Tue Feb 8 11:10:10 2011 +0200

      ProcXkbGetXkbByName: fix use of uninitialised bytes valgrind error.

      ==9999== Syscall param writev(vector[...]) points to uninitialised byte(s)
      ==9999==    at 0x4AB5154: writev (writev.c:51)
      ==9999==    by 0x7C7C3: _XSERVTransWritev (Xtrans.c:912)
      ==9999==    by 0x61C8B: FlushClient (io.c:924)
      ==9999==    by 0x62423: WriteToClient (io.c:846)
      ==9999==    by 0xCE39B: XkbSendMap (xkb.c:1408)
      ==9999==    by 0xD247B: ProcXkbGetKbdByName (xkb.c:5814)
      ==9999==    by 0x4AB53: Dispatch (dispatch.c:432)
      ==9999==    by 0x205BF: main (main.c:291)
      ==9999==  Address 0x557eb68 is 40 bytes inside a block of size 4,096 alloc'd
      ==9999==    at 0x48334A4: calloc (vg_replace_malloc.c:467)
      ==9999==    by 0x62567: WriteToClient (io.c:1065)
      ==9999==    by 0x452EB: ProcEstablishConnection (dispatch.c:3685)
      ==9999==    by 0x4AB53: Dispatch (dispatch.c:432)
      ==9999==    by 0x205BF: main (main.c:291)
      ==9999==  Uninitialised value was created by a stack allocation
      ==9999==    at 0xD1910: ProcXkbGetKbdByName (xkb.c:5559)

      Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
      Reviewed-by: Oliver McFadden &lt;oliver.mcfadden@nokia.com&gt;
      Signed-off-by: Ander Conselvan de Oliveira &lt;ander.conselvan-de-oliveira@nokia.com&gt;
</content>
</entry>
<entry>
<title>XkbSendNames: fix use of uninitialised bytes valgrind error.</title>
<updated>2018-11-09T14:31:57+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-07-18T21:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=018b2d0c63505960ba82b4ca1fac7852ee3d5115'/>
<id>urn:sha1:018b2d0c63505960ba82b4ca1fac7852ee3d5115</id>
<content type='text'>
  Backported-to-nx-by: Ulrich Sibiller &lt;uli42@gmx.de&gt;

    commit 8a34d7a8532c7ca013e67307f3baf200167abb92
    Author: Ander Conselvan de Oliveira &lt;ander.conselvan-de-oliveira@nokia.com&gt;
    Date:   Tue Feb 8 11:10:11 2011 +0200

      XkbSendNames: fix use of uninitialised bytes valgrind error.

      ==537== Syscall param writev(vector[...]) points to uninitialised byte(s)
      ==537==    at 0x4AB7154: writev (writev.c:51)
      ==537==    by 0x8935B: _XSERVTransWritev (Xtrans.c:912)
      ==537==    by 0x6C55F: FlushClient (io.c:924)
      ==537==    by 0x6CCF3: WriteToClient (io.c:846)
      ==537==    by 0xD51D3: XkbSendNames (xkb.c:3765)
      ==537==    by 0xD8183: ProcXkbGetKbdByName (xkb.c:5825)
      ==537==    by 0x27B7B: Dispatch (dispatch.c:432)
      ==537==    by 0x205B7: main (main.c:291)
      ==537==  Address 0x55899f2 is 154 bytes inside a block of size 1,896 alloc'd
      ==537==    at 0x4834C48: malloc (vg_replace_malloc.c:236)
      ==537==    by 0xD47AF: XkbSendNames (xkb.c:3642)
      ==537==    by 0xD8183: ProcXkbGetKbdByName (xkb.c:5825)
      ==537==    by 0x27B7B: Dispatch (dispatch.c:432)
      ==537==    by 0x205B7: main (main.c:291)
      ==537==  Uninitialised value was created by a heap allocation
      ==537==    at 0x4834C48: malloc (vg_replace_malloc.c:236)
      ==537==    by 0xD47AF: XkbSendNames (xkb.c:3642)
      ==537==    by 0xD8183: ProcXkbGetKbdByName (xkb.c:5825)
      ==537==    by 0x27B7B: Dispatch (dispatch.c:432)
      ==537==    by 0x205B7: main (main.c:291)

      Signed-off-by: Peter Hutterer &lt;peter.hutterer@who-t.net&gt;
      Reviewed-by: Oliver McFadden &lt;oliver.mcfadden@nokia.com&gt;
      Signed-off-by: Ander Conselvan de Oliveira &lt;ander.conselvan-de-oliveira@nokia.com&gt;
</content>
</entry>
</feed>
