[cairo-bugs] [Bug 78787] blueman and xfce4-power-manager crash when opening right-click menu while terminus is set as system font

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 25 02:28:14 PDT 2015


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

--- Comment #8 from Massimo <sixtysix at inwind.it> ---
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:

http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n2984

if it was requested also the path info it is filled in the second
call:

http://cgit.freedesktop.org/cairo/tree/src/cairo-scaled-font.c#n3000

whose UNSUPPORTED failure path gracefully propagates the status

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20151025/b4bd23c4/attachment.html>


More information about the cairo-bugs mailing list