Go to file
Leon Scroggins III 699d41e4bd SkWuffsCodec: Initialize memory when incomplete
Bug: oss-fuzz:11800

We already had code that initialized the output memory, but it assumed
that we would later copy from wuffs' work buffer. If the dirty rect is
empty, we don't do that. Rearrange the wuffs decode so we can know that
the dirty rect is empty when we decide whether to initialize.

Change-Id: I45fdd4270906b4c240ec087d20c24fb107a1dc07
Reviewed-on: https://skia-review.googlesource.com/c/189866
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Nigel Tao <nigeltao@google.com>
2019-02-07 14:48:31 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
bin bin/sysopen: script moved to bin 2018-12-06 14:21:33 +00:00
dm Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
docker CMake: distinguish between file and dir copies by presence of '.' in src path 2019-02-01 18:58:46 +00:00
docs move SkMetaData into src 2019-02-07 00:26:49 +00:00
example drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
experimental [canvaskit] Add SkShaper to build list 2019-01-23 17:04:11 +00:00
fuzz Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
gm Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
gn move SkMetaData into src 2019-02-07 00:26:49 +00:00
include Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
infra Update go_deps asset 2019-02-07 05:40:29 +00:00
modules Add BOT/EOT to Shaper. 2019-02-06 23:04:59 +00:00
platform_tools Add support for Windows to the gradle builds 2019-01-08 20:01:29 +00:00
resources [skottie] Add a custom property manager util class 2018-11-28 17:12:07 +00:00
samplecode Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
site Add a k8s cheat sheet to trooper docs 2019-02-07 14:46:50 +00:00
src SkWuffsCodec: Initialize memory when incomplete 2019-02-07 14:48:31 +00:00
tests Hide setDrawLooper -- deprecate loopers 2019-02-07 13:33:30 +00:00
third_party Roll HarfBuzz 2019-02-06 21:28:19 +00:00
tools Move GrContextPriv methods to their own .cpp file 2019-02-06 21:15:58 +00:00
.clang-format .clang-format: Don't force break after > in template declarations 2018-12-21 14:20:57 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Update BUILDCONFIG.gn to support Visual Studio 2017 Enterprise 2019-01-09 14:27:34 +00:00
BUILD.gn per-contour variant of SkPathMeasure 2019-02-06 18:21:22 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll ../src c27b32b2fd52..635f11205d4b (414 commits) 2019-02-07 11:23:30 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py [presubmit] Remove pylint check 2019-01-14 13:47:51 +00:00
public.bzl Remove all references to jsoncpp (build scripts, DEPS, etc) 2019-02-06 15:15:52 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt [infra] Marker for IntelBayTrail BIOS update. 2018-09-17 16:47:35 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.