]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: adbhid - fix OOPS introduced by dynalloc conversion
authorPaul Mackerras <paulus@samba.org>
Mon, 31 Oct 2005 06:30:32 +0000 (01:30 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 31 Oct 2005 06:30:32 +0000 (01:30 -0500)
commiteb16292ba8a6655a560ab10a7d73a7816f0c0ac0
tree2e52f812f6d0b7ab4b2b06a71b676f36c5afa288
parent76440d5e13d7dacd5763394ddb2071424e0b6921
Input: adbhid - fix OOPS introduced by dynalloc conversion

The problem is that adbhid[]->input is NULL, so the kernel oopses with
a null pointer dereference as soon as a key is pressed.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/macintosh/adbhid.c