| Index: third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
|
| index e84ddb6aa08cf78a45fb79a19b7e13e1f5e9f0e5..df1073901ba14881cdd58c0a5d114c667a7a88dd 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoderTest.cpp
|
| @@ -1043,4 +1043,11 @@ TEST(PNGTests, VerifyFrameCompleteBehavior) {
|
| }
|
| }
|
|
|
| +TEST(PNGTests, sizeMayOverflow) {
|
| + auto decoder =
|
| + createDecoderWithPngData("/LayoutTests/images/resources/crbug702934.png");
|
| + EXPECT_FALSE(decoder->isSizeAvailable());
|
| + EXPECT_TRUE(decoder->failed());
|
| +}
|
| +
|
| }; // namespace blink
|
|
|