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

Commit 9ec9f23a authored by Rashi Bindra's avatar Rashi Bindra Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: Fix for wrong length in copy_to_user



The caller could have a small buf passed (less then < blen).
Since, the length of count and blen is not checked, it can
write beyond the end of buf.

Change-Id: I9138cd742b6166937f3cc1cbf1af36f280c94bdb
Signed-off-by: default avatarRashi Bindra <rbindra@codeaurora.org>
parent c24ebdd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment