There are some weird monitors that returns invalid data, as zeroed
Horizontal/Vertical Active/Blanking.
This causes edid-decode to crash with a divsion by error exception. This
simple patch avoids so, checking for the divisor before proceeding.
Signed-off-by: Breno Leitao
---
edid-decode.c | 11
On 9/30/19 7:13 PM, Breno Leitao wrote:
> There are some weird monitors that returns invalid data, as zeroed
> Horizontal/Vertical Active/Blanking.
>
> This causes edid-decode to crash with a divsion by error exception. This
> simple patch avoids so, checking for the divisor before proceeding.
>