]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Input: ims-pcu - sanity check against missing interfaces
authorOliver Neukum <oneukum@suse.com>
Thu, 17 Mar 2016 21:00:17 +0000 (14:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2016 21:16:57 +0000 (14:16 -0700)
commita0ad220c96692eda76b2e3fd7279f3dcd1d8a8ff
tree190098d9c8a1bbde8aa240df197ac02e2a1bf732
parent9aa40426a4a23dfd9ca4c1c0f777b8c57e5070fd
Input: ims-pcu - sanity check against missing interfaces

A malicious device missing interface can make the driver oops.
Add sanity checking.

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ims-pcu.c