Skip to content

di-edid-decode: fix hang with a 32 KiB file

Simon Ser requested to merge decode-size into main

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

Edited by Simon Ser

Merge request reports