<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nx-libs/nx-X11/programs/Xserver/record, branch pr/extend_manpage</title>
<subtitle>NXv3 (redistributed) 
</subtitle>
<id>https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Fextend_manpage</id>
<link rel='self' href='https://cgit.arctica-project.org/nx-libs/atom?h=pr%2Fextend_manpage'/>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/'/>
<updated>2019-06-22T09:30:54+00:00</updated>
<entry>
<title>record/set.c: silence cpp finding</title>
<updated>2019-06-22T09:30:54+00:00</updated>
<author>
<name>Ulrich Sibiller</name>
<email>uli42@gmx.de</email>
</author>
<published>2019-06-21T10:04:23+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.arctica-project.org/nx-libs/commit/?id=b91b3d807d3e049358027d53ec5e4574e16850b3'/>
<id>urn:sha1:b91b3d807d3e049358027d53ec5e4574e16850b3</id>
<content type='text'>
[nx-X11/programs/Xserver/record/set.c:361]: (warning) Possible null pointer dereference: stackIntervals

stackIntervals is only NULL if nIntervals is 0, too. In that case
memcpy will do nothing and so it is ok to pass NULL as source. But it
is ugly nevertheless...
</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://cgit.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>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>
</feed>
