commit | 811209bbbb2bb82cd88157f408338211b69b1683 | [log] [tgz] |
---|---|---|
author | Karthik Anantha Ram <kartanan@codeaurora.org> | Tue Nov 07 10:53:03 2017 -0800 |
committer | Karthik Anantha Ram <kartanan@codeaurora.org> | Tue Nov 07 10:58:20 2017 -0800 |
tree | a18760f902ba7c3c6202d33471a44c9568c6376d | |
parent | 3f8372c195bcdba510bb5cbb2ca0a76f5bfcaa4b [diff] |
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: Karthik Anantha Ram <kartanan@codeaurora.org>