aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkOpCoincidence.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2016-10-24 04:53:22 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-24 04:53:23 -0700
commit826167111f80a4251266812cf720ad712bd29446 (patch)
tree0f8605054e933188a21e6b38d1b3f3bc82d5f1ed /src/pathops/SkOpCoincidence.cpp
parentfd97b6667f6426b469e454f6f2ff3e2d24f41051 (diff)
fix one more fuzzer
Diffstat (limited to 'src/pathops/SkOpCoincidence.cpp')
-rwxr-xr-xsrc/pathops/SkOpCoincidence.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pathops/SkOpCoincidence.cpp b/src/pathops/SkOpCoincidence.cpp
index ef0ea60cc8..1390533a51 100755
--- a/src/pathops/SkOpCoincidence.cpp
+++ b/src/pathops/SkOpCoincidence.cpp
@@ -864,6 +864,7 @@ bool SkOpCoincidence::addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg
}
const SkOpPtT* s2 = overS->find(seg2);
const SkOpPtT* e2 = overE->find(seg2);
+ FAIL_IF(!s2);
FAIL_IF(!e2);
if (!s2->starter(e2)->span()->upCast()->windValue()) {
s2 = overS->find(seg2o);