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

Skip to content
Commit 1b047441 authored by Yuanfang Zhang's avatar Yuanfang Zhang
Browse files

coresight: perf: Fix NULL point dereference issue



In the etm_setup_aux(), if no sink is found, then the path is NULL.
If etm_free_aux() is called directly, it will cause null-pointer
dereference. this change clear cpu mask to avoid this issue.

Change-Id: I392c04cb4ac75755a04a0e100450aeb2892e3812
Signed-off-by: default avatarYuanfang Zhang <zhangyuanfang@codeaurora.org>
parent 1180b8e6
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