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

Skip to content
Commit f0d1a0fa authored by Jilai Wang's avatar Jilai Wang Committed by Gerrit - the friendly Code Review server
Browse files

msm: npu: memset npu_kevent to prevent leak stack information



npu_kevent will be copied to user buffer, so it is possible that
user will be able to access some stack memory via the uninitialized
padding data. This change is to use memset to make sure this stack
information won't be leaked.

Change-Id: I77acafe11e67093f17906176720508674e1d35e8
Signed-off-by: default avatarJilai Wang <jilaiw@codeaurora.org>
parent c3b065a1
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