New issue
Advanced search Search tips

Issue 745819 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

An error in decoding a GIF frame may result in showing torn frame

Project Member Reported by scroggo@chromium.org, Jul 18 2017

Issue description

Brought up in https://codereview.chromium.org/2565323003/diff/2140001/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp#newcode257

BitmapImage attempts to avoid showing partial frames by calling FrameIsCompleteAtIndex, but that only prevents showing a frame that hasn't received all the data for that frame. If there is an error in the data, I suspect we'll still see a torn frame.

(We will correctly call SetFailed, preventing us from continuing to try to decode, but I believe we'll still show that final frame.)
 

Sign in to add a comment