gecko-dev/image/decoders
Andrew Osmond b1a4d4c79f Bug 1621283 - Ensure the WebP image decoder can handle source buffer errors. r=tnikkel
If we hit an OOM or similar when creating a SourceBuffer for an image,
we will hit COMPLETE immediately as the next read that goes to the
SourceBuffer from a SourceBufferIterator. If the iterator has yet to do
a read, that means it will hit COMPLETE right away without giving
anything. This patch fixes the WebP decoder to handle this case, as well
as adds test cases for all of the current image decoders.

Differential Revision: https://phabricator.services.mozilla.com/D77131
2020-05-27 22:52:10 +00:00
..
icon Bug 1466532 - Part 1: Drop nsIFile::followLinks r=froydnj,necko-reviewers,dragana 2020-05-26 20:51:16 +00:00
EXIF.cpp
EXIF.h
GIF2.h
iccjpeg.c
iccjpeg.h
moz.build Bug 1635037 - Add missing fuzzing instrumentation in image/decoders/. r=truber 2020-05-08 15:18:49 +00:00
nsAVIFDecoder.cpp Bug 1639409 - AVIF (AV1 Image File Format): decode with dav1d. r=aosmond 2020-05-22 19:00:17 +00:00
nsAVIFDecoder.h Bug 1639409 - AVIF (AV1 Image File Format): decode with dav1d. r=aosmond 2020-05-22 19:00:17 +00:00
nsBMPDecoder.cpp Backed out changeset 40784ea31188 (bug 651482) for Reftest failures in bmp-corrupted/wrapper.html?invalid-compression-BITFIELDS.bmp. CLOSED TREE 2020-05-22 12:21:32 +03:00
nsBMPDecoder.h Bug 1615394 - Add color management support to the BMP decoder. r=tnikkel 2020-03-03 14:16:00 +00:00
nsGIFDecoder2.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsGIFDecoder2.h
nsICODecoder.cpp Bug 1622661 - Removed 'else' after 'return'. r=tnikkel 2020-03-31 19:27:35 +00:00
nsICODecoder.h Bug 1255105 - Use SurfacePipe in the BMP decoder. r=tnikkel 2020-03-02 23:24:12 +00:00
nsIconDecoder.cpp Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsIconDecoder.h
nsJPEGDecoder.cpp Bug 1631615 - Don't color manage PNG/JPG/WebP if not tagged. r=tnikkel 2020-05-04 21:51:25 +00:00
nsJPEGDecoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsPNGDecoder.cpp Bug 1631615 - Don't color manage PNG/JPG/WebP if not tagged. r=tnikkel 2020-05-04 21:51:25 +00:00
nsPNGDecoder.h Bug 1620600 - Add flags to allow image decoders to produce sRGB output. r=tnikkel 2020-04-10 16:26:33 +00:00
nsWebPDecoder.cpp Bug 1621283 - Ensure the WebP image decoder can handle source buffer errors. r=tnikkel 2020-05-27 22:52:10 +00:00
nsWebPDecoder.h