di-edid-decode: fix hang with a 32 KiB file
The first fread call fills our 32768-byte buffer, and then we enter a busy loop calling fread with zero.
Found via fuzzing with AFL.
Signed-off-by: Simon Ser contact@emersion.fr
The first fread call fills our 32768-byte buffer, and then we enter a busy loop calling fread with zero.
Found via fuzzing with AFL.
Signed-off-by: Simon Ser contact@emersion.fr