Go to file
Mike Klein 7ffa40cedb FuzzPath -> FuzzNicePath
This CL renames FuzzPath() to FuzzNicePath() to remind us that it's
meant to create paths that a user could reasonably want to create
in good faith, to pass to Skia via its API, etc.

Then, add fuzz_nice_rect(), and have FuzzNicePath() use that to create
its rectangles and use FuzzNiceMatrix() to create its matrices, just
like we already use FuzzNiceRRect() to create rounded rectangles and
FuzzNicePath() itself to create sub-paths.

Using fuzz_nice_rect() should be the fix for the attached bug.
Using FuzzNiceMatrix() is by analogy, more preemptive.

While we're at it, rename BuildPath to FuzzEvilPath, so the contrast
with FuzzNicePath is more clear.

Update the assertions that we create a valid path in FuzzNicePath()
to tell us where things went wrong if they do.

Bug: oss-fuzz:10667, skia:8384
Change-Id: I6d802182a62815cd969c65cf0479609f64b1da55
Reviewed-on: https://skia-review.googlesource.com/156840
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
2018-09-25 17:04:00 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Reland "add getAlphaf() to pixmap/bitmap" 2018-09-21 17:41:03 +00:00
bin Add script to pull svgs to svgs/ and add to .gitignore 2018-08-31 20:02:24 +00:00
dm SkDocument: Factories now located in SkPDFDocument.h and SkXPSDocument.h 2018-09-20 18:21:07 +00:00
docker Use new build targets in continuous build of skottie and debugger. 2018-09-20 15:26:18 +00:00
docs move color4f docs to in progress 2018-09-21 20:54:29 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental move skpipe to experimental 2018-09-21 17:20:25 +00:00
fuzz FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
gm Add rowBytes to createTestingOnlyBackendTexture 2018-09-25 13:48:29 +00:00
gn Filter TextBlob paints in Viewer. 2018-09-24 20:04:24 +00:00
include Reland "focus exported color apis" 2018-09-24 15:43:10 +00:00
infra [infra] Enable QuadroP400 bots on rack:2 2018-09-25 16:37:36 +00:00
modules Reland: [skottie] Initial property setters 2018-09-24 21:46:07 +00:00
platform_tools [skottie] Plumb external SkFontMgr 2018-08-23 13:13:30 +00:00
resources [skottie] GM exercising external font loading 2018-09-20 19:05:35 +00:00
samplecode Remove a largue quantity of 4444 and/or dithering code 2018-09-21 00:50:06 +00:00
site Docs: update to docs from a4daf19319 2018-09-21 20:01:25 +00:00
src Don't draw device-independent ellipses with degenerate matrix 2018-09-25 15:42:21 +00:00
tests ccpr: Fix heap use-after-free caused by member destruction order 2018-09-25 13:52:49 +00:00
third_party Roll skia/third_party/skcms b9dc92669da2..82ea7fbce65f (1 commits) 2018-09-24 18:08:55 +00:00
tools Add rowBytes to createTestingOnlyBackendTexture 2018-09-25 13:48:29 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +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 Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn move skpipe to experimental 2018-09-21 17:20:25 +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 third_party/externals/angle2 85c4b43e6db1..beb669dac125 (4 commits) 2018-09-25 15:50:36 +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 Add new autoroll service accounts to AUTHORS check bypass 2018-09-07 18:49:23 +00:00
public.bzl SK_SUPPORT_LEGACY_DOCUMENT_FACTORY: clean up part 1/2 2018-09-21 19:50:40 +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.