DescriptionMerge 68446 - WebCore: ImageDecoderSkia.cpp needs to check for allocator failure when copying
bitmaps.
https://bugs.webkit.org/show_bug.cgi?id=46437
Reviewed by James Robinson.
* manual-tests/large-size-image-crash.html: Added.
* manual-tests/resources/large-size-image-crash.gif: Added.
* platform/image-decoders/ImageDecoder.cpp:
(WebCore::RGBA32Buffer::copyBitmapData):
* platform/image-decoders/ImageDecoder.h:
* platform/image-decoders/gif/GIFImageDecoder.cpp:
(WebCore::GIFImageDecoder::initFrameBuffer):
* platform/image-decoders/qt/RGBA32BufferQt.cpp:
(WebCore::RGBA32Buffer::copyBitmapData):
* platform/image-decoders/skia/ImageDecoderSkia.cpp:
(WebCore::RGBA32Buffer::copyBitmapData):
LayoutTests: This resource should have been in r62399; without it the test no-ops.
https://bugs.webkit.org/show_bug.cgi?id=41487
Reviewed by James Robinson.
* fast/images/resources/large-size-image-crash.jpeg: Added.
BUG=54500
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69027
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|