Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6c22a4c8 authored by Kunlei Zhang's avatar Kunlei Zhang Committed by Gerrit - the friendly Code Review server
Browse files

lsm: check payload size validity in lsm_event_detect_status_v3



Payload size validity is not checked before using it in array index.
Check payload size to avoid out-of-boundary memory. Add the check
in lsm_event_detect_status_v3.

Change-Id: I2f4ec3af5fa60ada6155ff3cf88e122a9066ab3b
Signed-off-by: default avatarKunlei Zhang <kunleiz@codeaurora.org>
parent 21b641c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment