[cairo-bugs] [Bug 37916] Assertion triggered with SunRay thin clients connected to a Solaris/SPARC server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 4 04:53:19 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37916

--- Comment #2 from Benjamin Otte <otte at gnome.org> 2011-06-04 04:53:17 PDT ---
Created an attachment (id=47516)
 View: https://bugs.freedesktop.org/attachment.cgi?id=47516
 Review: https://bugs.freedesktop.org/review?bug=37916&attachment=47516

image: Don't crash on weird pixman formats

_pixel_to_solid() used to assert that it got a known cairo_format_t.
However, this might not be the case when backends decide to use a pixman
format that is not representable by a cairo format (X and DirectFB are
examples for backends that do that).

This patch makes _pixel_to_solid() return NULL in that case and fixes
the callers to deal with it.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list