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

Skip to content
Commit 61f8b914 authored by Jilai Wang's avatar Jilai Wang
Browse files

msm: npu: Avoid buffer overflow while reading debugfs



count variable needs to be checked before copying data from
kernel to user space to avoid buffer overflow.

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