<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/record, 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-02-27T00:49:45+00:00</updated>
<entry>
<title>Lift record to xorg-server-1.4.2 state</title>
<updated>2018-02-27T00:49:45+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-11-05T22:24:55+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=e5833a6a1fcb6a2201c519a65958c6165f7dd018'/>
<id>urn:sha1:e5833a6a1fcb6a2201c519a65958c6165f7dd018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lift record to xorg-server-1.2.0/xorg-server-1.3.0.0 state - non-functional changes only</title>
<updated>2018-02-27T00:47:50+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-02-27T00:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=39a56dea4b8ba2f6ebb80555a15667ddc5137674'/>
<id>urn:sha1:39a56dea4b8ba2f6ebb80555a15667ddc5137674</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lift record to xorg-server-1.2.0/xorg-server-1.3.0.0 state</title>
<updated>2018-02-27T00:44:35+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-11-05T22:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=1c7abb05bffb9f4da00222251e3bdf8add261c03'/>
<id>urn:sha1:1c7abb05bffb9f4da00222251e3bdf8add261c03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lift record to xorg-xserver-7.1/1.1.0 state - non-functional changes only</title>
<updated>2018-02-27T00:38:29+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2018-02-27T00:38:29+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=0b62599008ea195bdc492370e6cb4043c824c095'/>
<id>urn:sha1:0b62599008ea195bdc492370e6cb4043c824c095</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lift record to xorg-xserver-7.1/1.1.0 state</title>
<updated>2018-02-27T00:35:08+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-11-05T11:39:05+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=db836fd7842ec7b98cede0503073f55a70b0ff7e'/>
<id>urn:sha1:db836fd7842ec7b98cede0503073f55a70b0ff7e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clearing comments from $XFree86$ (et al.) header lines.</title>
<updated>2017-04-19T11:08:45+00:00</updated>
<author>
<name>Mike Gabriel</name>
<email>mike.gabriel@das-netzwerkteam.de</email>
</author>
<published>2017-04-19T11:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=4ad88de861f6a513d4d6ae4b4609f7ced1001a6b'/>
<id>urn:sha1:4ad88de861f6a513d4d6ae4b4609f7ced1001a6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>record: avoid crash when calling RecordFlushReplyBuffer recursively</title>
<updated>2017-04-06T12:09:19+00:00</updated>
<author>
<name>Erkki Seppälä</name>
<email>erkki.seppala@vincit.fi</email>
</author>
<published>2017-04-06T12:09:19+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=c8a4e1e75c745c5c3ad947ba61c52cc5963d31dd'/>
<id>urn:sha1:c8a4e1e75c745c5c3ad947ba61c52cc5963d31dd</id>
<content type='text'>
Backported from X.Org:

commit 0801afbd7c2c644c672b37f8463f1a0cbadebd2e
Author: Erkki Seppälä &lt;erkki.seppala@vincit.fi&gt;
Date:   Thu Feb 10 15:35:14 2011 +0200

    record: avoid crash when calling RecordFlushReplyBuffer recursively

    RecordFlushReplyBuffer can call itself recursively through
    WriteClient-&gt;CallCallbacks-&gt;_CallCallbacks-&gt;RecordFlushAllContexts
    when the recording client's buffer cannot be completely emptied in one
    WriteClient. When a such a recursion occurs, it will not be broken out
    of which results in segmentation fault when the stack is exhausted.

    This patch adds a counter (a flag, really) that guards against this
    situation, to break out of the recursion.

    One alternative to this change would be to change _CallCallbacks to
    check the corresponding counter before the callback loop, but that
    might affect existing behavior, which may be relied upon.

    Reviewed-by: Rami Ylimäki &lt;rami.ylimaki@vincit.fi&gt;
    Signed-off-by: Erkki Seppälä &lt;erkki.seppala@vincit.fi&gt;
    Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;

Backported-to-NX-by: Mihai Moldovan &lt;ionic@ionic.de&gt;

Fixes: ArcticaProject/nx-libs#417.
</content>
</entry>
<entry>
<title>record.c: fix compiler warnings</title>
<updated>2017-03-10T18:44:22+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-03-03T23:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=a9d4a454b82425e49f739efdc6cfd8fa6c268fbd'/>
<id>urn:sha1:a9d4a454b82425e49f739efdc6cfd8fa6c268fbd</id>
<content type='text'>
record.c: In function ‘RecordAReply’:
record.c:714:7: warning: passing argument 4 of ‘RecordAProtocolElement’ discards ‘const’ qualifier from pointer target type [enabled by default]
       pri-&gt;replyData, pri-&gt;dataLenBytes, /* continuation */ -1);
       ^
record.c:286:1: note: expected ‘void *’ but argument is of type ‘const void *’
 RecordAProtocolElement(RecordContextPtr pContext, ClientPtr pClient,
 ^
record.c:724:10: warning: passing argument 4 of ‘RecordAProtocolElement’ discards ‘const’ qualifier from pointer target type [enabled by default]
          pri-&gt;replyData, pri-&gt;dataLenBytes, pri-&gt;bytesRemaining);
          ^
record.c:286:1: note: expected ‘void *’ but argument is of type ‘const void *’
 RecordAProtocolElement(RecordContextPtr pContext, ClientPtr pClient,
 ^
record.c:746:5: warning: passing argument 4 of ‘RecordAProtocolElement’ discards ‘const’ qualifier from pointer target type [enabled by default]
     pri-&gt;dataLenBytes, pri-&gt;bytesRemaining);
     ^
record.c:286:1: note: expected ‘void *’ but argument is of type ‘const void *’
 RecordAProtocolElement(RecordContextPtr pContext, ClientPtr pClient,
 ^
</content>
</entry>
<entry>
<title>replace (DE)ALLOCATE_LOCAL by malloc/free</title>
<updated>2017-03-03T17:58:43+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2017-03-02T14:38:08+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=09ef99919c010801bd4220d482a867035b6f4f25'/>
<id>urn:sha1:09ef99919c010801bd4220d482a867035b6f4f25</id>
<content type='text'>
This is basically a backport of the following commits + replacing
xalloc/xfree by malloc/free. Fixes ArcticaProject/nx-libs#358.

   commit 2761c103311a1160bc483fd0367d654733df8598
   Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
   Date:   Mon Nov 5 14:03:26 2007 +0000

       OS: Remove usage of alloca

       Replace with heap allocations.

   commit 5e363500c86042c394595e1a6633581eb8fcd1bb
   Author: Daniel Stone &lt;daniel@fooishbar.org&gt;
   Date:   Mon Nov 5 14:38:28 2007 +0000

       OS: Remove ALLOCATE_LOCAL from os.h

       Remove ALLOCATE_LOCAL_FALLBACK and DEALLOCATE_LOCAL_FALLBACK from os.h, and
       remove the include of Xalloca.h as well.
</content>
</entry>
<entry>
<title>Remove libcwrapper usage from xorg server modules. The libcwrapper is not used in nxagent.</title>
<updated>2016-12-04T20:11:41+00:00</updated>
<author>
<name>Eric Anholt</name>
<email>anholt@freebsd.org</email>
</author>
<published>2016-10-29T09:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=508d2deae98846111299a3693033a507010e3c91'/>
<id>urn:sha1:508d2deae98846111299a3693033a507010e3c91</id>
<content type='text'>
 From c3d14036729fd186d4ec7ca1de603e1f2d174e2f Mon Sep 17 00:00:00 2001
 From: Eric Anholt &lt;anholt@freebsd.org&gt;
 Date: Fri, 10 Feb 2006 22:00:30 +0000
 Subject: Remove libcwrapper usage from xorg server modules. The libcwrapper is
   only of (marginal) use in the drivers, and that usage remains.

 Backported-to-NX-by: Mike Gabriel &lt;mike.gabriel@das-netzwerkteam.de&gt;

 Fixes ArcticaProject/nx-libs#246 (together with merge commit
 ecd335fa61551d0b86d3f075469a7743ab899d95).
</content>
</entry>
</feed>
