On Sun, Mar 21, 2010 at 10:56:48AM +0800, Yong Wang wrote: > If sparse keymap is freed before unregistering the device, there is a > window where userspace can issue EVIOCGKEYCODE or EVIOCSKEYCODE. When > that happens, kernel will crash. Noticed by Dmitry Torokhov. > I'd rather require that getkeycode and setkeycode be mandatory. I will change sparse-kepmap module to stop setting these to NULL when freeing keymap. Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html