Skip to content
Snippets Groups Projects
Commit 420d0dc1 authored by Harsh Sahu's avatar Harsh Sahu Committed by Steve Pfetsch
Browse files

msm: mdss: fix memcpy source and dest memory buffer size mismatch


Currently memcpy is copying from a bigger memory size to a smaller
memory size, which may lead to buffer overflow. This change corrects
this issue by performing the memcopy restricted to the smaller of the
src or dest memory buffer.

Bug: 35258962
Change-Id: Ibbe5665083799a4262d3cfbb06f94f3e35e03748
Signed-off-by: default avatarHarsh Sahu <hsahu@codeaurora.org>
parent 3c3f94fe
Branches
Tags
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