Skip to content
Snippets Groups Projects
Commit 002b719b authored by Rajesh Bondugula's avatar Rajesh Bondugula Committed by Nick Desaulniers
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
Bug: 35216793
Change-Id: I237f60dca3e3dbad4e6188bf047cf7ec5163d159
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
parent b4e0e95c
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