skia2/fuzz
Leon Scroggins III 674a1848ae Add SkCodec::Result indicating error in the data
Previously, SkGifCodec treated an error in the LZW data as incomplete,
since we can still draw the partially decoded image. But a client doing
incremental decodes needs to distinguish this from truly incomplete
data. In the case of an error, the client should not attempt to provide
more data and decode again.

Add kErrorInInput, and return it when SkGifCodec sees a fatal error.
Treat it the same as kIncompleteInput when it comes to filling and DM.

Bug: skia:6825
Change-Id: Ic6ce3a62c0b065ed34dcd8006309e43272a3db9f
Reviewed-on: https://skia-review.googlesource.com/21530
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Chris Blume <cblume@chromium.org>
2017-07-06 16:49:36 +00:00
..
coverage Update coverage script to cover new Canvas Fuzzers 2017-03-15 14:32:59 +00:00
FilterFuzz.cpp remove unused mode parameter from SkMergeImageFilter 2017-06-19 14:01:56 +00:00
fuzz.cpp Add SkCodec::Result indicating error in the data 2017-07-06 16:49:36 +00:00
Fuzz.h Change SkMemory to the more accurately named SkMalloc. 2017-03-27 18:13:07 +00:00
FuzzCanvas.cpp Remove SkImageFilter::MakeBlur entry point 2017-06-27 12:49:25 +00:00
FuzzDrawFunctions.cpp Revert "Revert "Revert[2] "hide deprecated underline and strikethru""" 2017-02-23 14:19:40 +00:00
FuzzGradients.cpp [4fGradient] Relax interval checks for SkGradientShaderBase also 2017-02-09 20:44:47 +00:00
FuzzParsePath.cpp Add back in min/max check on fuzzer range 2016-11-16 19:17:19 +00:00
FuzzPathop.cpp Avoid platform-dependent function params in Fuzzer 2016-11-10 22:52:03 +00:00
FuzzScaleToSides.cpp Avoid platform-dependent function params in Fuzzer 2016-11-10 22:52:03 +00:00