Merge branch 'carlosgc/polygon-intersect-crash' into 'master'

polygon-intersect: add missing null checks

See merge request cairo/cairo!250
This commit is contained in:
Carlos Garcia Campos 2026-04-24 14:56:23 +00:00
commit 7e6eaf9634

View file

@ -1167,6 +1167,9 @@ active_edges (cairo_bo_edge_t *left,
} while (1);
right = left->next;
if (! right)
return;
do {
if unlikely ((right->deferred.other))
edges_end (right, top, polygon);
@ -1179,6 +1182,8 @@ active_edges (cairo_bo_edge_t *left,
}
right = right->next;
if (! right)
return;
} while (1);
edges_start_or_continue (left, right, top, polygon);