<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#c4">Comment # 4</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:tetromino@gentoo.org" title="Alexandre Rostovtsev <tetromino@gentoo.org>"> <span class="fn">Alexandre Rostovtsev</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=77931#c3">comment #3</a>)
<span class="quote">> if ( extents->clip->path != NULL ) {
> cairo_clip_t *clip;
> clip = _cairo_clip_copy (extents->clip);
> clip = _cairo_clip_intersect_boxes (clip, boxes);
> clip = _cairo_clip_intersect_boxes (clip, boxes); // this crashes due to NULL dereference
> }</span >
Typo, meant to say:
if ( extents->clip->path != NULL ) {
cairo_clip_t *clip;
clip = _cairo_clip_copy (extents->clip);
clip = _cairo_clip_intersect_boxes (clip, boxes);
clip = _cairo_clip_path_destroy (clip->path); // this crashes due to NULL
dereference
}</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>