Syzbot found a buffer underflow in __hid_request(). Add a related test case for it. It's not perfect, but it allows to catch a corner case when a report descriptor is crafted so that it has a size of 0. Link: https://patch.msgid.link/20250710-report-size-null-v2-4-ccf922b7c4e5@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| base_device.py | ||
| base_gamepad.py | ||
| conftest.py | ||
| descriptors_wacom.py | ||
| test_apple_keyboard.py | ||
| test_gamepad.py | ||
| test_hid_core.py | ||
| test_ite_keyboard.py | ||
| test_keyboard.py | ||
| test_mouse.py | ||
| test_multitouch.py | ||
| test_sony.py | ||
| test_tablet.py | ||
| test_usb_crash.py | ||
| test_wacom_generic.py | ||