Skip to content
Snippets Groups Projects
Commit 4f864a51 authored by Maggie White's avatar Maggie White Committed by Siqi Lin
Browse files

msm: camera: isp: fix for out of bound access array


There is no bound check in stream_cfg_cmd->num_streams and it's used in
several places as a maximum index into the stream_cfg_cmd->stream_handle
array which has a size of 15. Current code didn't check the maximum
index to make sure it didn't exceed the array size.

Bug: 62379525
Change-Id: Idcf639486d235551882dafc34d9e798d78c70bf0
Signed-off-by: default avatarMaggie White <maggiewhite@google.com>
parent b46b3d11
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment