mirror of
https://github.com/brl/mutter.git
synced 2025-03-24 20:23:56 +00:00

The XIQueryDevice function used by device_query_area can return a NULL pointer and set n_devices to a negative number in some cases. We add additional checks to prevent a segfault. https://bugzilla.gnome.org/show_bug.cgi?id=787649
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%