Skip to content
Snippets Groups Projects
Commit 95ad9eb9 authored by Harsh Sahu's avatar Harsh Sahu Committed by David Lin
Browse files

msm: mdss: 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.

Bug: 79422277
Change-Id: Icdd3d4e755deca19fa431e903620bd9e4c701c89
Signed-off-by: default avatarHarsh Sahu <hsahu@codeaurora.org>
Signed-off-by: default avatarSiqi Lin <siqilin@google.com>
parent c7e75f88
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment