[PATCH xserver 3/3] record: Preserve client input buffer for RecordEnableContext request.

Keith Packard keithp at keithp.com
Mon Oct 3 08:03:21 PDT 2011


On Mon,  3 Oct 2011 15:16:27 +0300, Rami Ylimäki <rami.ylimaki at vincit.fi> wrote:

> This request installs hooks that keep sending replies even after the
> request handler has finished. Each reply accesses the input buffer. If
> we let the buffer to be shared, we will eventually read garbage or
> even from freed memory.

Would it be possible to simply store any necessary data locally, instead
of hacking up the OS layer to store it for us?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111003/474e5d10/attachment.pgp>


More information about the xorg-devel mailing list