Descriptionfix pathops fuzz bugs
Fail out in a couple of new places when the input data is very
large and exceeds the limits of the pathops machinery.
Most of the change here plumbs in a way to exclude an assert in
one of these exceptional cases. The current SkAddIntersection
implementation and the inner functions it calls has no way to
report an error to the root caller for an early exit, so rather
than add that in, exclude the assert when the test that would
trigger it runs (allowing the test to otherwise ensure that it
properly fails).
TBR=reed@google.com
BUG=617586, 617635
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2046713003
Committed: https://skia.googlesource.com/skia/+/dae6b97705fde08958b1a36fa6ce685d28fc692c
Patch Set 1 #Patch Set 2 : forgot test file #Patch Set 3 : once again forgot test file #Patch Set 4 : remove pathops_unittests specific debugging #Patch Set 5 : fix fuzz bugs #Patch Set 6 : fix most vexing parse #
Messages
Total messages: 12 (8 generated)
|