hid: core: truncated wLength if it doesn't match report descriptor size
Some buggy system may be pass a larger wLength when it try read
HID report descriptor, although we had already tell it the right
descriptor size.
Signed-off-by:
qianfan Zhao <qianfanguijin@163.com>
Loading
Please sign in to comment