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

Commit 97d3b991 authored by ramandeep trehan's avatar ramandeep trehan
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: Ia6adf0587354c7d352c9e8d681de9d85fe5f1b98
Signed-off-by: default avatarramandeep trehan <rtrehan@qti.qualcomm.com>
parent 047ccea1
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