xorg-server segfault on this libinput plugin
Dear maintainer,
When switching tty, xorg will segfault on this plugin. Stack trace is available in the attached Xorg.0.log.old. My environment: archlinux, gnome40.0, xorg-server 1.20.10, xf86-input-libinput 1.0.0, kernel 5.11.11, nvidia 460.67. The same problem has also been reported in Ubuntu. On my laptop, the segfault only happens when using the nvidia driver. No segfault when using with intel i915.
Using gdb, I pinpoint that the LibinputSetPropertyTapButtonmap does not check device against NULL (i.e. does not call xf86libinput_check_device
) and returns Success
at this line. Later, the Success
lead to a NULL dereference at this line.
Not sure when should this plugin check for device != NULL and not sure if this is a plugin bug or something else. Is anything suspicious here?
Thanks!