diff options
| author | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-29 16:27:12 -0800 |
|---|---|---|
| committer | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-29 16:27:12 -0800 |
| commit | 9868ace0ab752d0ad704d1ecc8c858fe93cdf77e (patch) | |
| tree | 248c4c91537cfc62e649a229056160803b39340f /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | cd316285c5cb5f72cff8cd4e65ff6154a2ff3a4b (diff) | |
msm: camera: eeprom: 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: 1089433
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Change-Id: Iaaa6f5b3c1c2ac5b5b38b3ac407d6ae394bba780
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
