[cairo-bugs] [Bug 103037] Segmentation fault in _cairo_traps_compositor_glyphs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 6 16:53:15 UTC 2017


--- Comment #6 from Uli Schlachter <psychon at znc.in> ---
> How does it look now?

Would be fine by me, but does this really need a struct with two ints? Just
have 0=UNINITIALIZED, 1=INITIALIZING, and 2=INITIALIZED and one int is enough.
(Yes, this makes the implementation a bit more complicated).

Also, doesn't the if(likely(once->completed)) at the beginning of the function
need an _cairo_atomic_int_get() around it?

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20171006/6ed8d392/attachment.html>

More information about the cairo-bugs mailing list