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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:51:44 +0000 (10:51 +0200)
commit9ab5ae53eeb5beb61f66dd7c6eb9da653def97d2
tree4a3c99376687d88e011b74161e34902be730712c
parent963a14fb9c43f0a6b38fbe3da0b894a147c71388
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