Index: src/pathops/SkIntersections.cpp |
diff --git a/src/pathops/SkIntersections.cpp b/src/pathops/SkIntersections.cpp |
index 7caf04bf4db411c7d1d03df389aecb3cf1a31731..9683796a5b52634e209064981c00580ffbf02e2b 100644 |
--- a/src/pathops/SkIntersections.cpp |
+++ b/src/pathops/SkIntersections.cpp |
@@ -87,6 +87,7 @@ int SkIntersections::insert(double one, double two, const SkDPoint& pt) { |
fT[0][index] = one; |
fT[1][index] = two; |
++fUsed; |
+ SkASSERT(fUsed <= SK_ARRAY_COUNT(fPt)); |
return index; |
} |