Skip to content
Snippets Groups Projects
Commit bda0ab1d authored by Rajesh Bondugula's avatar Rajesh Bondugula Committed by Ecco Park
Browse files

msm: camera: sensor: Validate i2c_frq_mode in msm_cci_get_clk_rates


i2c_freq_mode in msm_cci_get_clk_rates is populated from userspace.
Validate to make sure it has valid values. If a large number is sent
from userspace to avoid a buffer over read.

Crs-Fixed: 1086833
Change-Id: I237f60dca3e3dbad4e6188bf047cf7ec5163d159
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
Bug: 34230377
Signed-off-by: default avatarYueyao Zhu <yueyao@google.com>
parent da148fd6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment