mirror of
https://gitlab.freedesktop.org/emersion/libdisplay-info.git
synced 2024-11-16 19:48:30 +01:00
edid: ignore malformed CTA extension blocks
Same as previous commit, but for CTA instead of DisplayID. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
204576ecff
commit
f48cc61166
1 changed files with 1 additions and 1 deletions
2
edid.c
2
edid.c
|
@ -1153,7 +1153,7 @@ parse_ext(struct di_edid *edid, const uint8_t data[static EDID_BLOCK_SIZE])
|
|||
|
||||
if (!_di_edid_cta_parse(&ext->cta, data, EDID_BLOCK_SIZE, &logger)) {
|
||||
free(ext);
|
||||
return false;
|
||||
return errno == EINVAL;
|
||||
}
|
||||
break;
|
||||
case DI_EDID_EXT_VTB:
|
||||
|
|
Loading…
Reference in a new issue