msm: camera: sensor: Validate i2c_freq_mode in msm_cci_set_clk_param
i2c_freq_mode in msm_cci_set_clk_param 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 write. CRs-Fixed: 1086833 Change-Id: I237f60dca3e3dbad4e6188bf047cf7ec5163d159 Signed-off-by:Rajesh Bondugula <rajeshb@codeaurora.org> Signed-off-by:
VijayaKumar T M <vtmuni@codeaurora.org>
Loading
Please register or sign in to comment