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

Commit 93646230 authored by Hardik Arya's avatar Hardik Arya
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 oob 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 0dd9616f
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