[cairo-bugs] [Bug 105084] Uninitialized memory leads to invalid free
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 13 21:09:58 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105084
--- Comment #1 from Federico Mena-Quintero <federico at gnome.org> ---
Created attachment 137338
--> https://bugs.freedesktop.org/attachment.cgi?id=137338&action=edit
cairo-105084.patch
I believe there's just a call missing to _get_pattern_ft_options() to
initialize font_face->ft_options. It may be good to factor out the
initialization of font_face from _cairo_ft_font_face_create_for_pattern() and
_cairo_ft_font_face_create(), since both malloc() and must initialize each
field by hand.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180213/2da7ec9d/attachment.html>
More information about the cairo-bugs
mailing list