[cairo-bugs] [Bug 75819] _cairo_clip_set_all_clipped returns const value as non-const, caller modifies it -> crash on some platforms

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 6 09:42:12 PST 2014


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

Andrew de los Reyes <andrew-freedesktop at gizmolabs.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Andrew de los Reyes <andrew-freedesktop at gizmolabs.org> ---
Hey, thanks for the quick response, but I verified that patch unfortunately
doesn't fix the issue.

Have a closer look at the code snippets I posted when I first created this
issue. Specifically, the body of _cairo_clip_intersect_rectangle_box . Note
that this function is called with a perfectly mutable clip, but it then calls
_cairo_clip_set_all_clipped which returns the immutable clip, which is then
mutated.

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


More information about the cairo-bugs mailing list