-
- Downloads
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 Bug: 35399756 (am from https://source.codeaurora.org/quic/la//kernel/msm-4.4/commit/?id=8236d6ebc7e26361ca7078cbeba01509f10941d8 ) Signed-off-by:
Yueyao Zhu <yueyao@google.com>
Please register or sign in to comment