diff options
| author | Samyukta Mogily <smogily@codeaurora.org> | 2017-07-04 16:22:07 +0530 |
|---|---|---|
| committer | Samyukta Mogily <smogily@codeaurora.org> | 2017-07-07 15:39:15 +0530 |
| commit | 47bfda463561e672d9ea808df5bb63c9085e68f5 (patch) | |
| tree | 4e062b9d7acb547c924a5d276159b9070c710085 /tools | |
| parent | 0c44f3c838e32d6c4928a3d175b5406b4b4af293 (diff) | |
msm: sensor: Fix to validate the settings size in flash
The size of the settings copied from userspace, is directly checked
in msm_cci_data_queue with CCI_I2C_MAX_WRITE. This might cause
out of bound access in function msm_cci_data_queue as the max size is
MAX_I2C_REG_SET. Hence adding check on the size in flash driver itself.
Change-Id: Ifac358be9f4b4ff60d14c20e02886c2d044e7f52
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
