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

Commit 8c1c5f57 authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian
Browse files

slimbus: Fix multiple corner cases



Initialize the variable before accessing it. Also ensure that it does
not get used outside its intended scope.

Always check for the validity of a pointer before accessing it.

CRs-Fixed: 2121178
Change-Id: I08fdb1bf8445ac9d321eb3433c6a935f34bae437
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent e13b7564
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