msm: sensor: validate the i2c table index before use
Verifying the i2c table index value before accessing the i2c table to avoid memory corruption issues. CRs-Fixed: 1065916 Change-Id: I0e31c22f90006f27a77cd420288334b8355cee95 Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org> Signed-off-by: Suman Mukherjee <sumam@codeaurora.org>
Loading
Please register or sign in to comment