xserver-multidpi/hw
Michal Srb 3dba171f5e dri2: Fix detection of wrong prime_id in GetScreenPrime.
Checking the iterating variable ("slave") against null can not detect if the
xorg_list_for_each_entry finished without break being invoked - slave variable
will be always non-null. This caused segfault whenever someone tried to use
DRI_PRIME with incorrect id while having at least one render offloading slave
configured.

Restructurize the GetScreenPrime to work as expected.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-05-22 16:27:44 -07:00
..
dmx dmxConfigCanvasUpdate: Delay dereference until after checking for NULL 2014-04-21 20:54:22 -07:00
kdrive kdrive: Ignore failure to chown console tty to current user 2014-04-18 16:30:17 -07:00
vfb Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
xfree86 dri2: Fix detection of wrong prime_id in GetScreenPrime. 2014-05-22 16:27:44 -07:00
xnest Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
xquartz XQuartz: Ensure we wait for the server thread to terminate 2014-04-06 05:32:03 -07:00
xwayland xwayland: Remove left-over ErrorF logging 2014-04-21 11:25:12 -07:00
xwin Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00