[cairo-bugs] [Bug 101550] Infinite recursion at cairo-mesh-pattern-rasterizer.c:848

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 22 09:00:52 UTC 2017


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

--- Comment #5 from Andrea Canciani <ranma42 at gmail.com> ---
Created attachment 132129
  --> https://bugs.freedesktop.org/attachment.cgi?id=132129&action=edit
Fix for the stack overflow

This patch would fix the stack overflow, but the pattern in the PoC pdf file
would still take an enormous amount of time to rasterize, given the current
approach used in cairo.

Backward rasterization could probably help handling such degenerate patterns
more efficiently, but the peculiar ordering of the mesh layers makes their use
nontrivial.

What is the best way forward? Is this patch sufficient?

-- 
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/20170622/995ca256/attachment.html>


More information about the cairo-bugs mailing list