Summary: | Server crash for wheel-only devices | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Peter Hutterer <peter.hutterer> | ||||
Component: | Server/Input/Core | Assignee: | Peter Hutterer <peter.hutterer> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | cosimoc | ||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Peter Hutterer
2012-01-10 15:09:11 UTC
Created attachment 55472 [details] [review] 0001-Force-REL_X-REL_Y-to-exist-on-devices-with-any-relat.patch Looks like the actual trigger is that when the pointer is warped, a x/y motion event is generated. On a device that does not have actual x/y, this is generated on the wrong axis (whatever axes fill 0 and 1). On a device with a single axis only, this leads to an OOB access, hence the crash or general weird data. This patch forces x/y to exist if any rel axes are present. A simliar patch should probably exist for absolute devices. I can confirm this xorg-x11-drv-evdev build [1], which contains this patch, fixes the issue on my machine. Thanks! [1] http://koji.fedoraproject.org/koji/buildinfo?buildID=282853 commit 5c5b2c8db851df7921cedd888222a6630a007fd8 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Jan 12 11:03:30 2012 +1000 Force x/y axes to exist on devices with any other axes (#44655) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.