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

Skip to content
Commit 6a9b8ae2 authored by Patrick Daly's avatar Patrick Daly
Browse files

iommu/iommu-debug: fix buffer overflows in debugfs read functions



The kernel buffer 'ubuf' can overflow while copying data to user
space in debugfs read functions. Fix it by limiting the length of
data to be copied to userspace.

Change-Id: Ic6d532f013dfab2dcb10650a8db435531a1509bf
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 568e87ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment