<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Infinite recursion at cairo-mesh-pattern-rasterizer.c:848"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101550#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Infinite recursion at cairo-mesh-pattern-rasterizer.c:848"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101550">bug 101550</a>
              from <span class="vcard"><a class="email" href="mailto:ranma42@gmail.com" title="Andrea Canciani <ranma42@gmail.com>"> <span class="fn">Andrea Canciani</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=132129" name="attach_132129" title="Fix for the stack overflow">attachment 132129</a> <a href="attachment.cgi?id=132129&action=edit" title="Fix for the stack overflow">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=101550&attachment=132129'>[review]</a>
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?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>