Skip to content
Commit 811209bb authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: icp: Validate ctx during hw release



The change validates the ctx passed as input to hw release
function. If ctx is invalid the function returns with an error.
Currently there is no return when an invalid ctx is
encountered leading to an out of bounds read.

Change-Id: I7fcf955dfb9ac12d85ea75a726597a44f5b9e63a
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 3f8372c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment