[PATCH] DDX/Randr: Avoid server crash when xrandr SetConfig is called while switched away

Keith Packard keithp at keithp.com
Mon Sep 9 15:17:30 PDT 2013


Egbert Eich <eich at freedesktop.org> writes:

> A call to Xrandr SetScreenConfig (for randr 1.1) causes the Xserver to
> crash when xf86SetViewport() which does not check if the hardware is
> accessible.
> Wrap accesses to xf86SetViewport() with if (vtSema) { ... } to avoid
> that.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
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/20130909/73077cdf/attachment.pgp>


More information about the xorg-devel mailing list