[cairo-bugs] [Bug 77931] NULL pointer dereference : _clip_and_composite_boxes() tries to destroy __cairo_clip_all's path
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Apr 26 15:29:03 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77931
--- Comment #2 from Uli Schlachter <psychon at znc.in> ---
Sadly no clear test case for this.
Since drawing with an all-clipped clip doesn't do anything at all, something
should notice this and return success early on.
Instead of your patch, could you try adding the following at the beginning of
_clip_and_composite_boxes()? Thanks (Hm, and I'd be curious how exactly this
can happen at all, the higher levels should check for all-clipped earlier, I
thought):
if (_cairo_clip_is_all_clipped (clip))
return CAIRO_STATUS_SUCCESS;
(Sorry, my main work computer broke and I am having some problems due to this)
--
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/20140426/4a704c5d/attachment.html>
More information about the cairo-bugs
mailing list