xserver/hw
Olivier Fourdan 64ca14b85e xwayland: make sure client is not gone in sync callback
in XWayland, dri3_send_open_reply() is called from a sync callback, so
there is a possibility that the client might be gone when we get to the
callback eventually, which leads to a crash in _XSERVTransSendFd() from
WriteFdToClient() .

Check if clientGone has been set in the sync callback handler to avoid
this.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99149
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100040
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1416553
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Tested-by: Mark B <mark.blakeney@bullet-systems.net>
2017-03-06 18:37:16 -05:00
..
dmx dispatch: Mark swapped dispatch as _X_COLD 2017-03-01 10:16:20 -05:00
kdrive kdrive: Remove now-unused linux backend 2017-03-01 17:51:09 -05:00
vfb vfb: Bump default depth to 24 2017-02-28 14:31:14 -05:00
xfree86 sdksyms: Tighten up the symbols we add to the magic table 2017-03-01 17:50:16 -05:00
xnest dix: Rename (and retype) PixmapPerDepth[1] to defaultStipple 2016-12-12 14:09:59 -05:00
xquartz ddx: add new call to purge input devices that weren't added 2016-10-26 15:35:07 +10:00
xwayland xwayland: make sure client is not gone in sync callback 2017-03-06 18:37:16 -05:00
xwin shadow: Macro cleanup 2016-12-12 14:10:44 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00