mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-15 19:38:04 +02:00
Merge branch 'bentley-ottmann-init-28apr25' into 'master'
Fix a NULL access in active_edges_to_traps(). See merge request cairo/cairo!621
This commit is contained in:
commit
5ec346e402
1 changed files with 2 additions and 0 deletions
|
|
@ -847,6 +847,8 @@ _cairo_bentley_ottmann_tessellate_boxes (const cairo_boxes_t *in,
|
|||
rectangles[j].left.x = box[i].p2.x;
|
||||
rectangles[j].left.dir = -1;
|
||||
}
|
||||
if (unlikely (rectangles[j].left.x == INT32_MAX)) rectangles[j].left.x = INT32_MAX-1;
|
||||
if (unlikely (rectangles[j].right.x == INT32_MAX)) rectangles[j].right.x = INT32_MAX-1;
|
||||
|
||||
rectangles[j].left.right = NULL;
|
||||
rectangles[j].right.right = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue