Created attachment 426141 [details]
dga crash test
Description of problem:
A DGA client registering for pointer events can crash the server if the device moved is a floating slave device.
Version-Release number of selected component (if applicable):
If a floating slave generates pointer events while a DGA client has selected for input, a null-pointer dereference causes a server crash.
Steps to Reproduce:
1. find the name of a pointer device on your machine (xinput --list)
2. float the device (xinput --float <device name>)
3. compile and run the attached dga.c test program.
4. Move the device, server crashes.
Some pointer devices have keys attached to them (evtest on the device file will show this). Good devices to test are standalone USB mice (not from mouse/keyboard combos) or the trackstick found on Lenovo laptops.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
xorg-x11-server-1.7.7-16.el6 is available in brew.
following comment 0 steps:
1. xinput --float "Dell Dell USB Optical Mouse"
2. compilation and executing of dga.c (have to use -lX11 -lXxf86dga)
3. mouse movements done
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.