commit | 02b62e13e29c7fa63862fb13a04715356529bdb7 | [log] [tgz] |
---|---|---|
author | Sriharsha Allenki <sallenki@codeaurora.org> | Thu Dec 22 14:57:44 2016 +0530 |
committer | Chin Kok <ck.koh@hi-p.com> | Tue Jun 20 16:31:50 2017 +0800 |
tree | 4df2ca0f9dbf94ebf1ace8b900f7a2f16826eb05 | |
parent | d70baea20758dcccac6971e0347de82ba9fe77d1 [diff] |
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. FPIIM-1230 Change-Id: I02dbecd074183581a6bdae6377097bc004bd3d3c CRs-fixed: 1102936 Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>