<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/render, branch 3.6.x</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://openid.arctica-project.org/nx-libs/atom?h=3.6.x</id>
<link rel='self' href='https://openid.arctica-project.org/nx-libs/atom?h=3.6.x'/>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/'/>
<updated>2020-01-05T21:08:13+00:00</updated>
<entry>
<title>NXrender.c: call upstream versions of (S)ProcRenderDispatch</title>
<updated>2020-01-05T21:08:13+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-30T22:34:49+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3bc01d1b8a253dcddf7072ec435fe655f22b79c5'/>
<id>urn:sha1:3bc01d1b8a253dcddf7072ec435fe655f22b79c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>NXrender.c, render.c: fix memory handling bugs</title>
<updated>2020-01-05T21:08:13+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-30T22:52:59+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=730876f8fafba2aa5fdb411fe443b41d9bd67d2c'/>
<id>urn:sha1:730876f8fafba2aa5fdb411fe443b41d9bd67d2c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>{render,randr}/Imakefile: remove hw/kdrive from include path</title>
<updated>2019-09-29T15:10:05+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-11-07T23:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=3a581f165ed047833bcf6827e4448b9a9bb0759b'/>
<id>urn:sha1:3a581f165ed047833bcf6827e4448b9a9bb0759b</id>
<content type='text'>
we don't have that...
</content>
</entry>
<entry>
<title>render: Propagate allocation failure from createSourcePicture()</title>
<updated>2019-06-22T09:30:47+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-19T22:51:32+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=78eff73e4a8cf6a428dd4bd5ed50e0515ec8794f'/>
<id>urn:sha1:78eff73e4a8cf6a428dd4bd5ed50e0515ec8794f</id>
<content type='text'>
  commit 211d4c2d353b5e379716484055a3f58235ea65f4
  Author: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
  Date:   Wed Dec 14 15:55:22 2011 +0000

    render: Propagate allocation failure from createSourcePicture()

    All the callers were already checking for failure, except that
    createSourcePicture() itself was failing to check whether it
    successfully allocated the Picture.

    [ajax: Rebase, fix line wrap of preceding line]

    Signed-off-by: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
    Reviewed-by: Jeremy Huddleston &lt;jeremyhu@apple.com&gt;
</content>
</entry>
<entry>
<title>glyph.c: fix a read beyond end of heap buffer</title>
<updated>2019-06-22T09:30:41+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-19T21:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=234be0245324b01676aff764b756248f4e57b45d'/>
<id>urn:sha1:234be0245324b01676aff764b756248f4e57b45d</id>
<content type='text'>
If compiled with -fsanitize=address this showed up when running startlxde:

==11551==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60d000018fbc at pc 0x7f270a9ed57b bp 0x7fff30ef3050 sp 0x7fff30ef2800
READ of size 204 at 0x60d000018fbc thread T0
    #0 0x7f270a9ed57a  (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xb857a)
    #1 0x559dafcd5c93 in FindGlyphRef ../../render/glyph.c:179
    #2 0x559dafcd705d in AddGlyph /work/nx-libs/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c:71
    #3 0x559dafccc0ff in ProcRenderAddGlyphs ../../mi/../render/render.c:1186
    #4 0x559dafcbd5a5 in ProcRenderDispatch /work/nx-libs/nx-X11/programs/Xserver/hw/nxagent/NXrender.c:1689
    #5 0x559dafcbc4ea in Dispatch /work/nx-libs/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c:476
    #6 0x559dafc4e9b0 in main /work/nx-libs/nx-X11/programs/Xserver/dix/main.c:353
    #7 0x7f2708e1d09a in __libc_start_main ../csu/libc-start.c:308
    #8 0x559dafc4f5d9 in _start (/work/nx-libs/nx-X11/programs/Xserver/nxagent+0x6e5d9)

0x60d000018fbc is located 0 bytes to the right of 140-byte region [0x60d000018f30,0x60d000018fbc)
allocated by thread T0 here:
    #0 0x7f270aa1e330 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.5+0xe9330)
    #1 0x559dafcd646c in AllocateGlyph ../../render/glyph.c:348

This happens when two glyphs are compared via memcmp and the smaller
one happens to be identical to the beginning of the bigger one.

Newer render implementations use a sha1 hash instead of memcmp so this
patch will (hopefully) be obsolete once render gets updated.
</content>
</entry>
<entry>
<title>render/glyph.c: add missing usage_hint</title>
<updated>2019-06-11T09:32:55+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-05-22T22:17:21+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4'/>
<id>urn:sha1:49adb1e5ccf6cd5da186a6ca10bfb6e8048b4be4</id>
<content type='text'>
was missing in 8b5bb2cdafe5f7bd77826a1fd28f07b7329be899
</content>
</entry>
<entry>
<title>Use C99 designated initializers in various extension Replies</title>
<updated>2019-02-28T22:13:49+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-02-28T22:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=c6b6a8fcb75023b89ec1d4b9f3ce3c9eb44764e1'/>
<id>urn:sha1:c6b6a8fcb75023b89ec1d4b9f3ce3c9eb44764e1</id>
<content type='text'>
  commit cc5f09c86f7bea23b7546c3491b2c52ce8100a71
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Mon Jul 9 19:12:43 2012 -0700

    Use C99 designated initializers in various extension Replies

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
    Tested-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

Attributes ArcticaProject/nx-libs#382
</content>
</entry>
<entry>
<title>Use calloc to zero fill buffers being allocated for replies &amp; events</title>
<updated>2019-02-28T22:11:23+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-02-28T22:11:23+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=c81a45785970aa198736d8dc578beb2d7bbd1b2f'/>
<id>urn:sha1:c81a45785970aa198736d8dc578beb2d7bbd1b2f</id>
<content type='text'>
  commit cdf5bcd420e5bcf4a4a24a275d3133a4e16ce41e
  Author: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
  Date:   Mon Jul 9 19:12:42 2012 -0700

    Use calloc to zero fill buffers being allocated for replies &amp; events

    Ensures padding bytes are zero-filled

    Signed-off-by: Alan Coopersmith &lt;alan.coopersmith@oracle.com&gt;
    Reviewed-by: Keith Packard &lt;keithp@keithp.com&gt;
    Tested-by: Daniel Stone &lt;daniel@fooishbar.org&gt;

Attributes ArcticaProject/nx-libs#382
</content>
</entry>
<entry>
<title>misc: fix more regressions and whitespace weirdness introduced in 913fcf1a74426725f14380dd5b34286a21c37ab7.</title>
<updated>2018-07-07T06:05:24+00:00</updated>
<author>
<name>Mihai Moldovan</name>
<email>ionic@ionic.de</email>
</author>
<published>2018-07-07T06:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=992673157077080f3d5637c7f666e43639181a91'/>
<id>urn:sha1:992673157077080f3d5637c7f666e43639181a91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix some memory leaks.</title>
<updated>2018-07-03T14:40:06+00:00</updated>
<author>
<name>Mario Trangoni</name>
<email>mjtrangoni@gmail.com</email>
</author>
<published>2018-03-25T14:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://openid.arctica-project.org/nx-libs/commit/?id=913fcf1a74426725f14380dd5b34286a21c37ab7'/>
<id>urn:sha1:913fcf1a74426725f14380dd5b34286a21c37ab7</id>
<content type='text'>
</content>
</entry>
</feed>
