<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - blueman and xfce4-power-manager crash when opening right-click menu while terminus is set as system font"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78787#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - blueman and xfce4-power-manager crash when opening right-click menu while terminus is set as system font"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78787">bug 78787</a>
from <span class="vcard"><a class="email" href="mailto:sixtysix@inwind.it" title="Massimo <sixtysix@inwind.it>"> <span class="fn">Massimo</span></a>
</span></b>
<pre>A fix for this problem (not for the case of corrupted/fuzzed font files)
could be to pass only CAIRO_SCALED_GLYPH_INFO_METRICS when
scaled_font->backend->scaled_glyph_init is called to insert the not yet
cached glyph in the hash_table, basically removing 'info | ' here:
<a href="http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n2984">http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n2984</a>
if it was requested also the path info it is filled in the second
call:
<a href="http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n3000">http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n3000</a>
whose UNSUPPORTED failure path gracefully propagates the status</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>