[Bug 761670] jpegdec: Possible endless loop if file is corrupt

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Feb 7 20:09:10 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761670

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 320584
  --> https://bugzilla.gnome.org/attachment.cgi?id=320584&action=edit
jpegdec: Don't pass the same data over and over

We already pass the entire frame to the decoder. If the decoder ask for
more data, don't pass the same data again as this leads to infinit loop.
Instead, simply fail the fill function to signal the problem with that
frame. It will then be skipped properly.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list