diff options
author | caryclark <caryclark@google.com> | 2016-09-22 05:20:07 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-22 05:20:07 -0700 |
commit | e7bb5b226662f01c91574b29f435acae71c76c46 (patch) | |
tree | a16e42c215c27985bae8e2e288f57586d1fe3a9f /src/pathops/SkOpCoincidence.cpp | |
parent | ac78863acdef4b428aaf66985b80c76d1be0fdea (diff) |
fix next kevin fuzz
Fix one more fuzzer crash.
R=kjlubick@google.com
BUG=skia:5775
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2357373002
Review-Url: https://codereview.chromium.org/2357373002
Diffstat (limited to 'src/pathops/SkOpCoincidence.cpp')
-rwxr-xr-x | src/pathops/SkOpCoincidence.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathops/SkOpCoincidence.cpp b/src/pathops/SkOpCoincidence.cpp index 446f34cb26..1bbb82a9e0 100755 --- a/src/pathops/SkOpCoincidence.cpp +++ b/src/pathops/SkOpCoincidence.cpp @@ -461,6 +461,7 @@ bool SkOpCoincidence::addExpanded() { FAIL_IF(oEnd->deleted()); FAIL_IF(!start->upCastable()); const SkOpSpanBase* test = start->upCast()->next(); + FAIL_IF(!coin->flipped() && !oStart->upCastable()); const SkOpSpanBase* oTest = coin->flipped() ? oStart->prev() : oStart->upCast()->next(); FAIL_IF(!oTest); SkOpSegment* seg = start->segment(); |