Merge "ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report"
This commit is contained in:
commit
640c42099b
1 changed files with 2 additions and 2 deletions
|
@ -431,8 +431,8 @@ static void hidp_del_timer(struct hidp_session *session)
|
|||
del_timer(&session->timer);
|
||||
}
|
||||
|
||||
static void hidp_process_report(struct hidp_session *session,
|
||||
int type, const u8 *data, int len, int intr)
|
||||
static void hidp_process_report(struct hidp_session *session, int type,
|
||||
const u8 *data, unsigned int len, int intr)
|
||||
{
|
||||
if (len > HID_MAX_BUFFER_SIZE)
|
||||
len = HID_MAX_BUFFER_SIZE;
|
||||
|
|
Loading…
Add table
Reference in a new issue