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

Skip to content
Commit c45b9de4 authored by Ido Shayevitz's avatar Ido Shayevitz Committed by Stephen Boyd
Browse files

usb: usb_bam: Fix issue for not checking NULL returned value



Ensure to correctly check the right pointer returned
from a call to function platform_get_resource_byname()
in order to prevent accessing this pointer afterwards
in case this pointer is NULL.

Change-Id: I8f6ba2944a4c60d2b4e668686c8bf7bc2640f46b
CRs-Fixed: 535640
Signed-off-by: default avatarIdo Shayevitz <idos@codeaurora.org>
parent 4b321cbd
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