diff options
| author | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-08 11:52:55 -0800 |
|---|---|---|
| committer | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-08 13:23:41 -0800 |
| commit | 012e37bf91490c5b59ba2ab68a4d214b632b613f (patch) | |
| tree | 61a7f3f6221b045a551c3405db4e9bdc505de0ef /drivers/misc/cxl/api.c | |
| parent | cd316285c5cb5f72cff8cd4e65ff6154a2ff3a4b (diff) | |
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: Rajesh Bondugula <rajeshb@codeaurora.org>
Diffstat (limited to 'drivers/misc/cxl/api.c')
0 files changed, 0 insertions, 0 deletions
