diff options
| author | Rajesh Bondugula <rajeshb@codeaurora.org> | 2016-11-15 13:52:49 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-22 08:52:48 -0800 |
| commit | 42e0f618e96a64e892a1c50e3d1b5420ecb4b997 (patch) | |
| tree | c3f95828e2d54b605ca127ef8c855de3fc98ed33 /tools/perf/scripts/python | |
| parent | 9febdfdde008c8d7875b5186a4a37cb515cb924d (diff) | |
msm: camera: sensor: Validate eeprom_name string length
Validate eeprom_name string length before copying into
the userspace buffer.
If more data than required is copied, userspace has the access to
some of kernel data which is not intended.
This change will fix the issue.
CRs-Fixed: 1090007
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Change-Id: Id40a287e0b1a93cc15d9b02c757fe9f347e285f2
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
