mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-02 12:10:44 +02:00
Fix segfault in firefox when scrolling on certain pages
Bug discovered by thorsten <fly_a320@gmx.de> Patch from Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
5b083237f5
commit
2be98be04e
1 changed files with 3 additions and 0 deletions
|
|
@ -3121,6 +3121,9 @@ _clip_and_composite_boxes (cairo_xcb_surface_t *dst,
|
|||
|
||||
clip = _cairo_clip_copy (extents->clip);
|
||||
clip = _cairo_clip_intersect_boxes (clip, boxes);
|
||||
if (_cairo_clip_is_all_clipped (clip))
|
||||
return CAIRO_INT_STATUS_NOTHING_TO_DO;
|
||||
|
||||
status = _cairo_clip_get_polygon (clip, &polygon,
|
||||
&fill_rule, &antialias);
|
||||
_cairo_clip_path_destroy (clip->path);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue