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

Commit 0cda8523 authored by Ashish Garg's avatar Ashish Garg
Browse files

msm: mdss: size check before writing to edid buffer



To update custom edid through sysfs node, there was no check
on the edid size passed. The user can overwrite the edid buffer.
To prevent buffer overflow, ensure that edid size is validated
with the edid buffer size before writing to the buffer.

Change-Id: I8604ea2d25f3a4985749bd037497d242b0621519
Signed-off-by: default avatarAshish Garg <ashigarg@codeaurora.org>
parent 43cc5f8b
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