diff options
| author | Sivacharan Paka <sipaka@codeaurora.org> | 2016-11-21 11:38:29 +0530 |
|---|---|---|
| committer | Sivacharan Paka <sipaka@codeaurora.org> | 2017-02-13 18:11:15 +0530 |
| commit | ff56a020d5f0c55ba2c5d90149089ef0cb6fdad4 (patch) | |
| tree | ce4bbde951492c1242c2db79d91e43fa7bd40425 /net/lapb/lapb_timer.c | |
| parent | a7f2a233f4f8eb58e2f83abec05a9a03427ffe44 (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 this issue.
CRs-Fixed: 1090007
Change-Id: Id40a287e0b1a93cc15d9b02c757fe9f347e285f2
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
