diff options
| author | Depeng Shao <dshao@codeaurora.org> | 2017-05-12 14:27:30 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-15 03:25:54 -0700 |
| commit | 4f19bb77fe0967e4e8aab34a66829618c4927d1f (patch) | |
| tree | 1d66237b0a8be9effbc7b7cb0f736e307b010aff /net/unix/af_unix.c | |
| parent | c6d1c1699e7dcc7ec170baae48be94814061d0b7 (diff) | |
msm: camera: sensor: Validate sensor related name length
Variable "slave_info->sensor_name", "slave_info->eeprom_name",
"slave_info->actuator_name" and "slave_info->ois_name" are
from user input, which may be not NULL terminated.
OOB will be possible when accessing these variable.
Add a validation for these name length.
Change-Id: I9a570372707b7f8365a625d6b0662e87d1b4926e
Signed-off-by: Depeng Shao <dshao@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
