Loading
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:Harsh Sahu <hsahu@codeaurora.org> Signed-off-by:
Siqi Lin <siqilin@google.com> (cherry picked from commit 0f94e29a9bced8b163b7057b777579182a81fa0c)