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

Skip to content
Commit dbf0752f authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Stephen Boyd
Browse files

diag: Fix diag crash due to memory corruption



Diag allocates memory based on the count received from userspace.
Add check to validate the memory pointer before derefencing it.

CRs-Fixed: 487981
Change-Id: Ibfee22d02bb2312192de7c811d9917ecab728269
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 1a98b2df
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