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

Commit c7a99e2b authored by Mohammed Javid's avatar Mohammed Javid
Browse files

msm: ipa: Fix array out of bound and use after NULL check



Couple of code cleanup
 - Check for upper boundary for resource_index
   not to dependent on ipa_rm_dep_get_index function.
 - Check actual argument for NULL and return.

Change-Id: I0ab244e68d96f7841ab2a10e61f2546314166165
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 49f87c56
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