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

Skip to content
Commit 5f272a61 authored by Harsh Sahu's avatar Harsh Sahu
Browse files

drm/msm : check buffer size before writing to user buffer



Check the number of bytes to copy against the size of the
user buffer before copy to user to avoid buffer overflow.

Change-Id: Ida3f2470b8441010adc30312c12c6d75fdd6ccb8
Signed-off-by: default avatarHarsh Sahu <hsahu@codeaurora.org>
parent 3afabc36
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