[Webkit-unassigned] [Bug 166058] [Cairo] Conditional jump or move depends on uninitialised value(s)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 4 10:24:18 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166058

--- Comment #5 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
Comment on attachment 297518
  --> https://bugs.webkit.org/attachment.cgi?id=297518
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=297518&action=review

> Source/WebCore/platform/graphics/cairo/FontCairo.cpp:246
>      cairo_glyph_t cairoGlyph;
>      cairoGlyph.index = m_glyphBuffer.glyphAt(m_index);
> +    cairoGlyph.x = cairoGlyph.y = 0;

These could have been written like this:

cairo_glyph_t cairoGlyph = { m_glyphBuffer.glyphAt(m_index), 0, 0 };

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170104/d59f7b25/attachment.html>


More information about the webkit-unassigned mailing list