commit | 96ffe823667b0413632394873aa9e5bc317b1a30 | [log] [tgz] |
---|---|---|
author | Hardik Arya <harya@codeaurora.org> | Thu Apr 05 13:05:04 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Apr 15 22:43:27 2018 -0700 |
tree | 4c8505e81fc0bc13c5e06284af7e98557cce95cd | |
parent | 71636eec762f729304853b1614337a3d3fe5d2a5 [diff] |
diag: Validate peripheral received from user for switch logging Currently check is missing for peripheral sent by user for switch logging, due to this there is a possibility of out-of-bound read. The patch adds proper check for peripheral and protection before accessing global variable md_session_map. Change-Id: I165b9a7900cec20ca7970b37ca4823e2186fe27c Signed-off-by: Hardik Arya <harya@codeaurora.org>