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

Skip to content
Commit 54b9a1c7 authored by Petar Sivenov's avatar Petar Sivenov Committed by Stephen Boyd
Browse files

msm: camera: isp: Bound check for number stats registers



The index of used stats register is derived from a stream handle least
significant byte and thus can be up to 255. However the stats registers
are up to 8 depending of the target. Thus a bound check is done before
use of the received stats register index value.

Change-Id: Ic008918f4263f57a5b8aabd34266ac1ba3612a9c
Signed-off-by: default avatarPetar Sivenov <psiven@codeaurora.org>
parent f630ca1f
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