aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar Stephen White <senorblanco@chromium.org>2018-05-18 11:49:21 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-18 17:42:24 +0000
commitec79c39a770205910f0abd762de7e19a96c986ca (patch)
tree13db1c8bdf6ac72e2c49e21f318a339621e0a743 /gm
parent13197b8d4f1000249fa98b587c047d35f4ab1cf2 (diff)
GrTessellator: fix for zombie edge fuzzer crash.
While splitting one edge, merge_collinear_edges() may in rare cases merge the other edge of the intersection out of existence. split_edge() then brings these dead edges partially back to life, leaving the mesh in an inconsistent state. The fix is to null out the top and bottom pointers of dead edges to mark them as dead, and only split living edges. Bug: skia:7911 Change-Id: I1c0b59581acfcd0b8191f2d129b33f7d0d1a2516 Reviewed-on: https://skia-review.googlesource.com/129181 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Stephen White <senorblanco@chromium.org>
Diffstat (limited to 'gm')
0 files changed, 0 insertions, 0 deletions