msm: npu: memset npu_kevent to prevent leak stack information
BugLink: https://bugs.launchpad.net/bugs/1931727 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:Jilai Wang <jilaiw@codeaurora.org> (cherry picked from commit 12cda6b32554236d1e5f9833b0a6caf2a418ab5c) Signed-off-by:
Shrirang Bagul <shrirang.bagul@canonical.com>
Loading
Please sign in to comment