aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAnkit Nautiyal <[email protected]>2022-09-16 15:35:50 +0530
committerJani Nikula <[email protected]>2022-10-04 20:35:49 +0300
commita07e6f56b3eb0bdc8fe42d04296fe66ea8ad4380 (patch)
treeae7ac1571a5b4290dbbce6d2a095dbe234596ec1 /lib/mpi/mpiutil.c
parent5e706c4db90cd7fd8d9b883efced08558379934f (diff)
drm/edid: Refactor HFVSDB parsing for DSC1.2
DSC capabilities are given in bytes 11-13 of VSDB (i.e. bytes 8-10 of SCDS). Since minimum length of Data block is 7, all bytes greater than 7 must be read only after checking the length of the data block. This patch adds check for data block length before reading relavant DSC bytes. Signed-off-by: Ankit Nautiyal <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions