Commit e168a553 authored by osaisruj's avatar osaisruj Committed by Shrirang Bagul
Browse files

disp: msm: dp: validate edid before dereferencing

BugLink: https://bugs.launchpad.net/bugs/1945470



Currently, when using custom edid from debugfs, the
extensions data inside the edid block is not validated
before dereferencing the extension block.

The fix adds a edid validation function to validate
any custom edids before accessing any members in the
edid block.

Change-Id: I65e596cd6743febd5d55d968908619ebd50bef29
Signed-off-by: default avatarosaisruj <osaisruj@codeaurora.org>
(cherry picked from commit ed39c03638f858590cb2f174bc0853976df43381)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent fb029489
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment