[Cairo] cairo_restore leaves cairo_t in invalid state with status 0

Carl Worth cworth at east.isi.edu
Mon Sep 15 07:55:55 PDT 2003


On Sep 13, Keith Packard wrote:
 > Call cairo_restore without ever calling cairo_save and you pop the gstate 
 > off the list, leaving it NULL.  Try to invoke any cairo function that uses 
 > gstate and you get a segfault.

Yes, and the proposed fix is correct and committed.

Thanks,

-Carl




More information about the cairo mailing list