edid-decode: check that there really are SVRs to resolve
commitfe04b14871751242ed4b5f0cfb0f4432721fa100
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 15 Jan 2024 08:37:58 +0000 (15 09:37 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 15 Jan 2024 08:37:58 +0000 (15 09:37 +0100)
treecf4ce465c89823c69168799a7994a71dc274fa95
parent1e99fe84c08d2cea5d86668ac6948e382ef545e3
edid-decode: check that there really are SVRs to resolve

Check if there are really SVRs that need resolving, and
verify that the SVR is in a valid range.

This fixes a segfault for a really crappy EDID.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
edid-decode.cpp
edid-decode.h
parse-cta-block.cpp