[cairo] Segfault with PS surface
ajohnson at redneon.com
Tue May 15 03:45:57 PDT 2007
Torsten Schoenfeld wrote:
> the attached test case results in a segfault here with cairo from git.
> The first fix was easy enough; attached. Unfortunately, that wasn't
> enough. I get a new crash now:
The cause of this bug is that cairo_surface_finish() does not set the
surface->finished flag to TRUE if the backend->finish() function returns
an error status. This results in the backend->finish() function being
called twice. Attached is the patch to fix this.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cairo