skia2/resources/invalid_images
Leon Scroggins III cbf66a2213 Ensure all rows of a gif are initialized
Bug: oss-fuzz:6274

Even if a frame does not have enough LZW blocks to decode all rows,
(which is unknown until we actually decode them), it is marked complete
once there are no more LZW blocks.

When decoding, even if we've decoded all LZW blocks, check fRowsDecoded
to determine whether we've actually all the rows. Report the number of
rows decoded so that SkCodec can fill in the remaining ones.

Change-Id: I1d6e0c29e3c37649725836cf24a4a239e3266b76
Reviewed-on: https://skia-review.googlesource.com/106964
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2018-02-16 17:26:56 +00:00
..
b33251605.bmp Use fixed size buffer for RLE bmps 2017-01-19 14:21:02 +00:00
b33651913.bmp Stop supporting kUnknown_BmpHeaderType 2016-12-15 21:48:03 +00:00
b34778578.bmp Set a limit on the size for BMP images 2017-02-24 21:25:44 +00:00
b37623797.ico Fix double delete in SkBmpCodec 2017-07-14 16:25:54 +00:00
b38116746.ico Defend against ICOs with large BMPs embedded 2017-06-05 18:28:19 +00:00
bad_palette.png SkPngCodec: Do not return kInvalidConversion on corrupt png 2017-04-26 17:43:38 +00:00
ico_fuzz0.ico Ico security issues fix 2015-03-13 08:07:01 -07:00
ico_fuzz1.ico Ico security issues fix 2015-03-13 08:07:01 -07:00
ico_leak01.ico Ico security issues fix 2015-03-13 08:07:01 -07:00
int_overflow.ico Avoid integer overflow in SkIcoCodec and SkImageInfo 2016-10-17 21:19:54 +00:00
invalid-offset.webp Reland "Respect canvas size and frame offset in webp decoder" 2017-02-07 22:40:13 +00:00
many-progressive-scans.jpg Fail jpeg decodes on too many progressive scans 2016-11-08 21:39:15 +00:00
mask-bmp-ico.ico Fix bmp RLE "bug" 2015-08-12 08:08:56 -07:00
osfuzz6288.bmp Check for min int in BMP header 2018-02-15 15:36:19 +00:00
osfuzz6295.webp Check the length of marker before reading it 2018-02-13 22:05:53 +00:00
ossfuzz6274.gif Ensure all rows of a gif are initialized 2018-02-16 17:26:56 +00:00
sigabort_favicon.ico Add tests (and fix!) for known bad ICO files. 2014-11-10 13:12:25 -08:00
sigsegv_favicon_2.ico Add tests (and fix!) for known bad ICO files. 2014-11-10 13:12:25 -08:00
sigsegv_favicon.ico Add tests (and fix!) for known bad ICO files. 2014-11-10 13:12:25 -08:00
skbug3429.webp Use the upstream version of libwebp, v0.4.3. 2015-07-10 09:32:09 -07:00
skbug3442.webp Use the upstream version of libwebp, v0.4.3. 2015-07-10 09:32:09 -07:00
skbug5887.gif SkGifCodec: do not write off the end of memory when repeatCount > 1 2016-10-26 00:43:27 +00:00
skbug6046.gif SkGifCodec: intersect frameRect with image size 2016-12-13 14:00:17 +00:00