[cairo] segfault in cairo-xcb-surface-render.c

thorsten fly_a320 at gmx.de
Fri May 2 00:20:59 PDT 2014


>> Hi Thorsten,
>>
>> The fix seems sane enough, but I am not able to reproduce the bug, using
>> cairo 1.12.16 and firefox 29 on the URL you provided.  Mind filing a
>> bugzilla bug on this with a backtrace, to give a reference for the bug?
>
> The fix is
>
> index 9625953..54307d5 100644
> --- a/src/cairo-xcb-surface-render.c
> +++ b/src/cairo-xcb-surface-render.c
> @@ -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);
>
> -Chris


Hi Chris and Bryce,

thanks for your replies! Do you folks still need the backtrace and
bugzilla, since Chris seems to have the fix handy? If so, I would try to
get it done within today or tomorrow.

regards,

thorsten


More information about the cairo mailing list