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

Commit 204925a3 authored by Jilai Wang's avatar Jilai Wang Committed by Gerrit - the friendly Code Review server
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 e7ccf1d7
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