gtk2 application segfault with libxi 1.7.7
Submitted by j.w..@..il.com
Assigned to Xorg Project Team
Description
Since libxi 1.7.7 GTK2 applications crash when certain input devices are plugged in. At least some Wacom tablets and Microsoft game controllers trigger a segmentation fault. Removing lines 224 and 225 from src/XListDev.c:XListInputDevices
if (!s)
goto out;
prevents the error from happening. These lines were added in commit 19a9cd60, the only commit from 1.7.6 to 1.7.7.
Mentions: https://bugs.archlinux.org/task/51298 https://bbs.archlinux.org/viewtopic.php?pid=1659799 https://lwn.net/Articles/703097/