Input: kbtab - sanity check for endpoint type
authorOliver Neukum <oneukum@suse.com>
Thu, 1 Aug 2019 16:44:25 +0000 (09:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:47:49 +0000 (10:47 +0200)
commit08b3af00a16188f3299ab6dc2c685947d61bd787
treed4bb04e1204ec5d62dff1686ea667afbb55a14ef
parentb545dc9debe69ca513b93f4a244451e9be14b0c5
Input: kbtab - sanity check for endpoint type

commit c88090dfc84254fa149174eb3e6a8458de1912c4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/tablet/kbtab.c