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

Skip to content
Commit fb0392c9 authored by Iliya Varadzhakov's avatar Iliya Varadzhakov
Browse files

msm: cpp: Fix potential dereference of NULL pointer



Work field in cpp_dev structure is not checked for NULL.
If its allocation fails, NULL pointer will be dereferenced.
This will cause crash in camera.

Change-Id: I8b36f3553292b41386e231f12867ff78f8e2379d
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent a17b59e9
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