xserver/hw/xfree86/drivers
Alex Goins 797e7a0ceb modesetting: Fix ms_covering_crtc() segfault with non-xf86Crtc slave
DIX ScreenRecs don't necessarily have an xf86CrtcConfigPtr DDX private.
ms_covering_crtc() assumes that they do, which can result in a segfault.

Update ms_covering_crtc() to check the XF86_CRTC_CONFIG_PTR() returned pointer
before dereferencing it. This will still mean that ms_covering_crtc() can't fall
back to the primary output when a drawable overlaps a slave output (going to the
1 FPS default instead), but it won't segfault.

Signed-off-by: Alex Goins <agoins@nvidia.com>
2019-11-11 14:35:57 -08:00
..
modesetting modesetting: Fix ms_covering_crtc() segfault with non-xf86Crtc slave 2019-11-11 14:35:57 -08:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00