Commit 4400c731 authored by Oliver Neukum's avatar Oliver Neukum Committed by Xie XiuQi
Browse files

Input: iforce - add sanity checks



commit 849f5ae3 upstream.

The endpoint type should also be checked before a device
is accepted.

Reported-by: default avatar <syzbot+5efc10c005014d061a74@syzkaller.appspotmail.com>
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent d448851e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment