[PATCH] prevent X crash on pressing multimedia buttons

Michal Suchanek hramrach at gmail.com
Mon Mar 26 07:40:06 PDT 2012


this is basically a backport of
2416ee4a015068359807a10f433e8c54192c78a9 to 1.11 branch which fixes X
server crash on queuing pointer events on devices without axis.

On 1.11 this is only triggered under special circumstances (eg. when
Xscreensaver unlock dialog is active).

It fixes the issue for me.

I only hit the problem that valuator is NULL.

Not sure if an event for an axis not present on a device which does
have some axis can be queued. There are checks for that but not tested
because such event are not generated in my setup.

Please review


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Avoid-crash-on-button-events-on-device-without-valua.patch
Type: text/x-diff
Size: 2368 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120326/de47c6f5/attachment.patch>

More information about the xorg-devel mailing list