|
@@ -374,7 +374,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item)
|
|
|
|
|
|
case HID_GLOBAL_ITEM_TAG_REPORT_SIZE:
|
|
case HID_GLOBAL_ITEM_TAG_REPORT_SIZE:
|
|
parser->global.report_size = item_udata(item);
|
|
parser->global.report_size = item_udata(item);
|
|
- if (parser->global.report_size > 96) {
|
|
|
|
|
|
+ if (parser->global.report_size > 128) {
|
|
hid_err(parser->device, "invalid report_size %d\n",
|
|
hid_err(parser->device, "invalid report_size %d\n",
|
|
parser->global.report_size);
|
|
parser->global.report_size);
|
|
return -1;
|
|
return -1;
|