xserver/hw/xfree86/drivers/modesetting
Alex Goins aa43dce15f 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>
(cherry picked from commit 797e7a0ceb)
2019-11-11 14:46:32 -08:00
..
Makefile.am modesetting: Fix broken manpage in autoconf build 2019-10-30 19:38:30 +00:00
dri2.c modesetting: Fix inverted check in dri2 WaitMSC 2018-04-17 10:26:25 -04:00
driver.c modesetting: get pEnt after error checks 2018-10-04 17:26:20 +02:00
driver.h modesetting: Allow a DRM fd to be passed on command line with -masterfd [v2] 2018-08-01 11:01:37 -04:00
drmmode_display.c modesetting: fix conn_id termination and potential overrun by 1 byte 2019-02-20 14:23:33 -05:00
drmmode_display.h During reset/shutdown, clean up leases in DIX instead of each driver 2018-08-07 12:08:01 -04:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build modesetting: set gbm as dependency in meson build 2018-05-08 12:41:58 -04:00
modesetting.man modesetting: Document Option "DoubleShadow" in the man page 2018-10-04 17:25:52 +02:00
pageflip.c modesetting: Use atomic modesetting to set DPMS mode 2018-04-04 14:01:48 -04:00
present.c modesetting: Fix GBM objects leak when checking for flip 2018-04-30 14:01:02 -04:00
vblank.c modesetting: Fix ms_covering_crtc() segfault with non-xf86Crtc slave 2019-11-11 14:46:32 -08:00