Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f68cac51 authored by Sriharsha Allenki's avatar Sriharsha Allenki
Browse files

hid: usbhid: Changes to prevent buffer overflow



Moved some value checks to right positions to prevent
buffer flow, which may be possible before. Previously
these value checks are in an else statement which may
not be executed.

Change-Id: I02dbecd074183581a6bdae6377097bc004bd3d3c
CRs-fixed: 1102936
Signed-off-by: default avatarSriharsha Allenki <sallenki@codeaurora.org>
parent ef3068bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment