skia2/gn
Mike Klein c9bc81434a Handle null colorspace in SkToSRGBColorFilter.
This was uncovered by the linked fuzzer issue.

I haven't looked hard at it, but I'd guess it's fuzzed an ICC profile
into one that can't be deserialized, and we get a null in CreateProc().

We could probably restrict the null check to just CreateProc(), but
putting it in Make() and asserting in the constructor feels cozy.

BUG=chromium:787718

Change-Id: Ic4b1dad28c00ee5870f22093eedbf34686c32120
Reviewed-on: https://skia-review.googlesource.com/76080
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Brian Osman <brianosman@google.com>
2017-11-27 18:00:56 +00:00
..
toolchain Support cc_wrapper with MSVC toolchain 2017-10-23 16:34:29 +00:00
__init__.py Make gn directory importable in python 2017-03-20 17:40:30 +00:00
ar.py GN: quiet alink spam on Mac 2016-11-07 14:19:32 +00:00
bench.gni Add benchmark for comparing multitexturing to non-multitexturing image draws. 2017-10-11 20:32:49 +00:00
BUILD.gn Support cc_wrapper with MSVC toolchain 2017-10-23 16:34:29 +00:00
BUILDCONFIG.gn [WASM] Add POC compile bot for WebAssembly 2017-09-21 18:24:43 +00:00
call.py Add gn plumbing for mdbviz tool 2017-09-05 13:57:44 +00:00
compile_processors.py switched to infra version of clang-format for skslc 2017-07-27 20:28:50 +00:00
core.gni Revert "Revert "Add Atlas Text interface for rendering SDF glyphs."" 2017-11-19 18:55:18 +00:00
cp.py GN: get Angle compiling on Windows. 2016-10-17 16:16:16 +00:00
create_sksl_enums.py fix Housekeeper-PerCommit bot 2017-11-16 19:18:53 +00:00
effects.gni Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
find_headers.py Revert "Revert "Update skia to use ifdefs for Vulkan code instead of dummy header"" 2017-06-14 01:43:38 +00:00
find_ios_sysroot.py Add iOS simulator support in GN. 2017-03-13 17:21:43 +00:00
flutter_defines.gni Preemptively disable upcoming Skia features in Flutter/Fuchsia 2017-11-10 13:52:57 +00:00
gm.gni SkPDF: less tolerance for small circles 2017-11-27 14:59:45 +00:00
gn_helpers.py Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gn_meta_sln.py Move, rename, and document Visual Studio GN helper script 2016-12-14 16:41:52 +00:00
gn_to_bp.py Generate warning settings for Android framework 2017-10-06 16:18:34 +00:00
gn_to_cmake.py Add support for lib_dirs to gn_to_cmake.py. 2016-10-28 15:07:10 +00:00
gpu.gni Revert "Revert "Add Atlas Text interface for rendering SDF glyphs."" 2017-11-19 18:55:18 +00:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
is_clang.py GN: match shell behavior for cc and cxx in is_clang.py 2016-09-27 09:29:24 -07:00
opts.gni Assume HQ is handled by pipeline, delete legacy code-path 2017-07-20 00:43:37 +00:00
package_ios.py Get viewer running on iOS 2017-09-01 17:30:57 +00:00
pdf.gni Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
push_to_android.py skia_android_serial = "auto" 2017-01-12 16:30:17 +00:00
run_sksllex.py Re-land "converted OverdrawColorFilter to SkSL" 2017-10-26 14:58:27 +00:00
samples.gni Revert "Use int when possible to calculate atlas indices in shaders." 2017-11-20 22:11:39 +00:00
shared_sources.gni Assume HQ is handled by pipeline, delete legacy code-path 2017-07-20 00:43:37 +00:00
sksl.gni converted ConstColorProcessor to SkSL 2017-11-20 20:34:38 +00:00
tests.gni Handle null colorspace in SkToSRGBColorFilter. 2017-11-27 18:00:56 +00:00
utils.gni move Sk{Test,Random}ScalerContext to tools 2017-11-10 17:02:20 +00:00
xps.gni SkXPS: new document API. 2017-02-06 19:00:28 +00:00