diff options
| author | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-22 11:04:04 -0800 |
|---|---|---|
| committer | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-22 11:18:27 -0800 |
| commit | 8236d6ebc7e26361ca7078cbeba01509f10941d8 (patch) | |
| tree | f9a8e232717af1a2dc183a45d6557159dac1c0fc /tools/perf/scripts/python | |
| parent | cd316285c5cb5f72cff8cd4e65ff6154a2ff3a4b (diff) | |
msm: camera: flash: Validate the power setting size
Validate the power setting size before copying.
If userspace sends a value which is greater than
MAX_POWER_CONFIG, then the driver accesses unintended memory.
This change will fix the issue.
CRs-Fixed: 1093232
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Change-Id: Ia49963248a94765baa19695294b197ea6f3bb8e2
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
