You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
betopff_init() only checks the total sum of the report counts for each
report field to be at least 4, but hid_betopff_play() expects 4 report
fields.
A device advertising an output report with one field and 4 report counts
would pass the check but crash the kernel with a NULL pointer dereference
in hid_betopff_play().
Fixes: 52cd778 ("HID: betop: add drivers/hid/hid-betopff.c")
Signed-off-by: Pietro Borrello <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
0 commit comments