2006-12-18 Dex Deacon <occupant4@gmail.com>
Reviewed by Maciej.
Bug 11760: Animated GIFs with offsets crash WebKit
http://bugs.webkit.org/show_bug.cgi?id=11760
* platform/image-decoders/gif/GIFImageDecoder.cpp:
ensure we don't write past the end of the image buffer when the offset
is nonzero. also fix the way we composite frames when animating.
(WebCore::GIFImageDecoder::initFrameBuffer):
(WebCore::GIFImageDecoder::haveDecodedRow):
2006-12-18 Dex Deacon <occupant4@gmail.com>
Reviewed by Maciej.
Layout tests for http://bugs.webkit.org/show_bug.cgi?id=11760
* ChangeLog:
* fast/images/animated-gif-with-offsets-expected.txt: Added.
* fast/images/animated-gif-with-offsets.html: Added.
* fast/images/resources/animated-gif-with-offsets.gif: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18289
268f45cc-cd09-0410-ab3c-
d52691b4dbfc