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

Commit 71a440a0 authored by Neeraj Soni's avatar Neeraj Soni
Browse files

crypto: ice: Sanitize the ice device return address.



Even if ICE device is not found it is possible
for list device API to return non NULL pointer
which will pass all NULL checks in code. Ensure
to return proper address or NULL.

Change-Id: I1465614b86f1415376b2adffeec6e4da1a33ddd5
Signed-off-by: default avatarNeeraj Soni <neersoni@codeaurora.org>
parent 977b2f70
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