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

Skip to content
Commit caa9dfd8 authored by Hardik Arya's avatar Hardik Arya Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarHardik Arya <harya@codeaurora.org>
parent 6401e390
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