Commit 90a334e4 authored by Kiran Kumar H N's avatar Kiran Kumar H N Committed by Shwetha Kotekar
Browse files

msm: camera: Check for valid mctl handle before using it.



Everytime we get the mctl handle, check if its valid or not
to avoid null ptr dereferences.

(cherry picked from commit c258cd8dae56a95e2bc3a299501f1e988bfac113)

Change-Id: Iff8bb4886b3d94dc55ee13ad8470e2c8b1a6f4ee
Signed-off-by: default avatarKiran Kumar H N <hurlisal@codeaurora.org>
parent 3fcc34b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment