[PATCH 08/10] Add support for MIT-SHM AttachFd request

Keith Packard keithp at keithp.com
Sun Nov 3 22:35:28 CET 2013


Kristian Høgsberg <krh at bitplanet.net> writes:

> Just so we're clear, what I'm saying above is that this request can be
> trivially exploited by any client to crash the X server with SIGBUS.

I've posted a patch to the list which catches SIGBUS, maps new memory
over the old region, tracks down the offending shared memory segment and
frees the associated resource ID so that the client can figure out what
happened. I decided against closing the client connection down.

-- 
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/20131103/79179a70/attachment.pgp>


More information about the xorg-devel mailing list