[tessellator] Invalid conversion of list head to edge.

When scanning for collinear right edges, we need to check that we do not
go beyond the end of the array.
This commit is contained in:
Chris Wilson 2009-09-29 03:01:37 +01:00
parent f23ae97e30
commit 1c4f61ec50

View file

@ -380,6 +380,8 @@ _active_edges_to_traps (cairo_bo_sweep_line_t *sweep,
break;
}
if (right->link.next == &sweep->sweep)
break;
right = link_to_edge (right->link.next);
}
}