<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - NULL pointer dereference : _clip_and_composite_boxes() tries to destroy __cairo_clip_all's path"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77931#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - NULL pointer dereference : _clip_and_composite_boxes() tries to destroy __cairo_clip_all's path"
href="https://bugs.freedesktop.org/show_bug.cgi?id=77931">bug 77931</a>
from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
<pre>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)</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>