Permalink
Please sign in to comment.
Browse files
backends/x11: Prevent segfault when querying list of devices
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
- Loading branch information...
Showing
with
1 addition
and 1 deletion.
0 comments on commit
8493777