diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-24 12:00:32 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-31 09:39:04 +1000 |
commit | d7c44a7c9760449bef263413ad3b20f19b1dc95a (patch) | |
tree | b63a34c9911e48075721158267ba9a0f08ef4ae2 /randr | |
parent | 820d9040f50a8440741b3aefbc069a3ad81e824e (diff) |
dix: block signals when closing all devices
When closing down all devices, we manually unset master for all attached
devices, but the device's sprite info still points to the master's sprite
info. This leaves us a window where the master is freed already but the
device isn't yet. A signal during that window causes dereference of the
already freed spriteInfo in mieqEnqueue's EnqueueScreen macro.
Simply block signals when removing all devices. It's not like we're really
worrying about high-responsive input at this stage.
https://bugzilla.redhat.com/show_bug.cgi?id=737031
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Diffstat (limited to 'randr')
0 files changed, 0 insertions, 0 deletions