OSDN Git Service

Input: kbtab - sanity check for endpoint type
authorOliver Neukum <oneukum@suse.com>
Thu, 1 Aug 2019 16:44:25 +0000 (09:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 1 Aug 2019 17:55:21 +0000 (10:55 -0700)
commitc88090dfc84254fa149174eb3e6a8458de1912c4
treef47e16006571ba31212a8cb9c21b7a8383f7dd36
parentb55d996f057bf2e7ba9422a80b5e17e99860cb0b
Input: kbtab - sanity check for endpoint type

The driver should check whether the endpoint it uses has the correct
type.

Reported-by: syzbot+c7df50363aaff50aa363@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/kbtab.c