services/sensorservice/SensorService.cpp
100644 → 100755
+36
−15
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add the parameter check during the operation of memcopy/memmove
to avoid the over boundary risk.
If this issue happen, the android system will restart.
Modify the code refer to the review comment
BUG:28123226
Change-Id: Ib17e94d9b916938756d460bc2c05dd2d60246932
Signed-off-by:
Lianchao Song <songlianchao@huawei.com>