Skip to content
Snippets Groups Projects
Commit 40be99c5 authored by Daniel Axtens's avatar Daniel Axtens Committed by Julian Andres Klode
Browse files

video/readers/jpeg: Abort sooner if a read operation fails


Fuzzing revealed some inputs that were taking a long time, potentially
forever, because they did not bail quickly upon encountering an I/O error.

Try to catch I/O errors sooner and bail out.

Signed-off-by: default avatarDaniel Axtens <dja@axtens.net>
Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
parent e1c0a986
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment