[PATCH] dix: fix crash when removing devices on a buttonless MD pointer (#29669)

Keith Packard keithp at keithp.com
Mon Aug 23 00:54:34 PDT 2010


On Mon, 23 Aug 2010 13:29:50 +1000, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> If the master does not have a button class, recalculating the number of
> buttons required for this master dereferences a NULL pointer. Guard against
> this, if the master pointer doesn't have a button class, it doesn't need to
> update it's number of buttons.

Don't you still need to send the event though?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100823/90007d7f/attachment-0001.pgp>


More information about the xorg-devel mailing list